Fix setting of send bitrate for Firefox.
Thanks to Ines Klimann.
This commit is contained in:
+1
-1
@@ -336,7 +336,7 @@ async function setMaxVideoThroughput(c, bps) {
|
||||
continue;
|
||||
let p = s.getParameters();
|
||||
if(!p.encodings)
|
||||
continue;
|
||||
p.encodings = [{}];
|
||||
p.encodings.forEach(e => {
|
||||
if(bps > 0)
|
||||
e.maxBitrate = bps;
|
||||
|
||||
Reference in New Issue
Block a user