Commit 1212c7cb authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Run Firefox workaround unconditionally.

parent c53cc20d
...@@ -1184,10 +1184,10 @@ function setUpStream(c, stream) { ...@@ -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]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment