Commit 9a0c830a authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix setting of send bitrate for Firefox.

Thanks to Ines Klimann.
parent c0122c06
......@@ -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;
......
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