mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
Run Firefox workaround unconditionally.
This commit is contained in:
parent
c53cc20d26
commit
1212c7cb04
1 changed files with 2 additions and 2 deletions
|
@ -1184,10 +1184,10 @@ function setUpStream(c, stream) {
|
||||||
streams: [stream],
|
streams: [stream],
|
||||||
sendEncodings: encodings,
|
sendEncodings: encodings,
|
||||||
});
|
});
|
||||||
// Disable simulcast on Firefox
|
|
||||||
if(t.kind === 'video') {
|
if(t.kind === 'video') {
|
||||||
let p = tr.sender.getParameters();
|
let p = tr.sender.getParameters();
|
||||||
if(!p.encodings && simulcast) {
|
if(!p.encodings) {
|
||||||
|
// Firefox workaround
|
||||||
updateSettings({simulcast: 'off'});
|
updateSettings({simulcast: 'off'});
|
||||||
reflectSettings();
|
reflectSettings();
|
||||||
p.encodings = [encodings[0]];
|
p.encodings = [encodings[0]];
|
||||||
|
|
Loading…
Reference in a new issue