1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 23:35:46 +01:00

Fix setting of send bitrate for Firefox.

Thanks to Ines Klimann.
This commit is contained in:
Juliusz Chroboczek 2020-09-03 19:56:23 +02:00
parent c0122c069e
commit 9a0c830a59

View file

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