mirror of
https://github.com/jech/galene.git
synced 2024-12-22 15:25:48 +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],
|
||||
sendEncodings: encodings,
|
||||
});
|
||||
// Disable simulcast on Firefox
|
||||
if(t.kind === 'video') {
|
||||
let p = tr.sender.getParameters();
|
||||
if(!p.encodings && simulcast) {
|
||||
if(!p.encodings) {
|
||||
// Firefox workaround
|
||||
updateSettings({simulcast: 'off'});
|
||||
reflectSettings();
|
||||
p.encodings = [encodings[0]];
|
||||
|
|
Loading…
Reference in a new issue