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

Run Firefox workaround unconditionally.

parent c53cc20d
......@@ -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]];
......
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