Philipp Hancke
718b433920
sdp: improve sdp matching for simulcast lines (#1452)
which should include the colon in order not to match something like
a=simulcast-is-cool
5 gadus atpakaļ
Philipp Hancke
f1df5585aa
sdp: add missing colon to findLines calls (#1447)
in order to not match a=msid-somethingelse, a=ridiculous and similar
5 gadus atpakaļ
Saúl Ibarra Corretgé
0e328c9b82
deps: eslint-config-jitsi@latest
5 gadus atpakaļ
Philipp Hancke
280ad55775
sdp: refactor things a bit more and give names to things
mostly removing the 'tmp' variable. Renaming 'media' to 'sdp'
in some places.
5 gadus atpakaļ
Philipp Hancke
0ef62459ef
sdp: remove mangle() function
not used elsewhere. Also the common term for this is munging
these days.
5 gadus atpakaļ
Philipp Hancke
72c00b6a4d
sdp: refactor jingle2media
using more specific selectors
5 gadus atpakaļ
Philipp Hancke
6a436a813e
sdp: remove SDES mapping
removes the SDES mapping. This is a leftover of the time when
Chrome only supported SDES and shouldn't be required anymore.
5 gadus atpakaļ
Philipp Hancke
509740734b
chore: remove usage of `self`
This has become obsolete thanks to ES6 arrow functions
5 gadus atpakaļ
Philipp Hancke
1c4db84416
sdp: check dtls namespace
removing an old FIXME
5 gadus atpakaļ
Philipp Hancke
6e26cac414
sdp: remove some jquery usage
and make the code use arrow functions with named parameters in .each()/.map.
5 gadus atpakaļ
Philipp Hancke
b183d09b5b
sdp: remove remove(Session|Media)Lines
removes two unused methods for mangling SDP.
5 gadus atpakaļ
Jaya Allamsetty
b012353d68
Update modules/xmpp/SDP.js
Co-Authored-By: Saúl Ibarra Corretgé <s@saghul.net >
5 gadus atpakaļ
Jaya Allamsetty
26f5e88813
fix(SDP<->Jingle): Reject m-line with port 0 only when a=bundle-only is not present
Use unique session id per TPC.
Translate a=rid to Jingle only when simulcast through RIDs, i.e., ssrc-less simulcast is supported
5 gadus atpakaļ
virtuacoplenny
e59d8b4efd
fix(migration): reject the data channel to restart it (#760)
* fix(migration): reject the data channel to restart it
Starting on chrome 63, an error occurs when renegotiating
with the new bridge on bridge migration when the SDP sections
do not match, which occurs when removing the data channel
section. Not doing the double renegotiate prevents the data
channel from being reopened. The way around this, while still
avoing the error, is to reject the data channel section instead
of removing it to trigger a new data channel.
* squash: reword comments
7 gadus atpakaļ
virtuacoplenny
9f699bfeb5
fix(sdp): group ssrcs when converting to jingle (#609)
Ssrcs not grouped together in the jingle element
are not recognized by the bridge. When parsing an
sdp with ssrcs that are not listed consecutively
it is important to still group them together
in the jingle element.
8 gadus atpakaļ
Lyubo Marinov
ff8468d931
eslint 4.8.0
ESLint 4.8.0 discovers a lot of error related to formatting. While I
tried to fix as many of them as possible, a portion of them actually go
against our coding style. In such a case, I've disabled the indent rule
which effectively leaves it as it was before ESLint 4.8.0.
8 gadus atpakaļ
bbaldino
ea27047fb2
Unified plan simulcast signaling (#540)
* add support for signaling simulcast for unified plan
1) munge the incoming offer to advertise support for receiving simulcast in unified plan
2) add 3 simulcast encodings via rtp sender
3) inject an ssrc-group line, even when using rids for simulcast (jicofo will rely on this)
* add rid information to the session-accept jingle
* address lenny's feedback
* make firefox simulcast configurable
* fix missing comma
8 gadus atpakaļ
Lyubo Marinov
45a5f64326
Prepare for webpack 2
Webpack 2 defines module.exports as a read-only property in ES6 modules.
8 gadus atpakaļ
Lyubo Marinov
089ee76c04
Prepare for webpack 2
Webpack 2 defines module.exports as a read-only property in ES6 modules.
8 gadus atpakaļ
Lyubo Marinov
de61af8b2d
[eslint] require-jsdoc
8 gadus atpakaļ
hristoterezov
432185066a
fix(eslint): Add no-invalid-this rule
8 gadus atpakaļ
hristoterezov
f647f03e5d
fix(eslint): Add max-depth rule
8 gadus atpakaļ
Lyubo Marinov
146148483e
[eslint] no-shadow
8 gadus atpakaļ
Lyubo Marinov
c88c4f9124
[eslint] camelcase
8 gadus atpakaļ
hristoterezov
e5472b9aca
fix(eslint): Add eqeqeq rule
8 gadus atpakaļ
Lyubo Marinov
8fbc815836
[eslint] no-param-reassign
8 gadus atpakaļ
hristoterezov
774ee4b2b0
fix(eslint): Add no-loop-func rule
8 gadus atpakaļ
Lyubo Marinov
308adc133a
[eslint] max-len
8 gadus atpakaļ
Lyubo Marinov
068f290835
[eslint] lines-around-comment
8 gadus atpakaļ
Lyubo Marinov
9a8b5563c6
[eslint] object-property-newline
8 gadus atpakaļ
Lyubo Marinov
840c5b3cdf
[eslint] computed-property-spacing, key-spacing, keyword-spacing, object-curly-spacing
8 gadus atpakaļ
Lyubo Marinov
69e82e9fa6
[eslint] no-useless-concat, no-useless-escape
8 gadus atpakaļ
Lyubo Marinov
4581605a28
[eslint] newline-after-var, newline-before-return, newline-per-chained-call
8 gadus atpakaļ
Lyubo Marinov
110fe997b6
[eslint] no-continue
8 gadus atpakaļ
Lyubo Marinov
0da7f6b98f
[eslint] no-negated-condition
8 gadus atpakaļ
Lyubo Marinov
13bfa61028
[eslint] prefer-arrow-callback
8 gadus atpakaļ
Lyubo Marinov
c991abf9ef
[eslint] prefer-template
8 gadus atpakaļ
hristoterezov
6095a3a95d
fix(eslint): Add no-eq-null rule
8 gadus atpakaļ
Lyubo Marinov
5bff0ed543
[eslint] no-var
8 gadus atpakaļ
Lyubo Marinov
4293971466
[eslint] operator-linebreak
8 gadus atpakaļ
Lyubo Marinov
ed0d464392
[eslint] quotes
8 gadus atpakaļ
Lyubo Marinov
b5b0e95b4e
[eslint] sort-vars
8 gadus atpakaļ
Lyubo Marinov
78217478d1
[eslint] space-before-function-paren
8 gadus atpakaļ
Lyubo Marinov
324afc0caf
[eslint] space-infix-ops
8 gadus atpakaļ
hristoterezov
c96898c478
fix(eslint): Add no-multi-spaces rule
8 gadus atpakaļ
hristoterezov
3e44723582
fix(eslint): Add indent rule
8 gadus atpakaļ
hristoterezov
f02a22d3f9
fix(eslint): Add brace-style rule
8 gadus atpakaļ
hristoterezov
c36b464bfc
fix(eslint): Add curly rule
8 gadus atpakaļ
Lyubo Marinov
596767d57e
[eslint] object-shorthand
8 gadus atpakaļ
hristoterezov
fceb8606d8
fix(eslint): Add no-extra-parens rule
8 gadus atpakaļ