1
Fork 0
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:
Juliusz Chroboczek 2021-05-12 02:59:12 +02:00
parent c53cc20d26
commit 1212c7cb04

View file

@ -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]];