mirror of
https://github.com/jech/galene.git
synced 2024-11-14 04:35:57 +01:00
Fix setting of send bitrate for Firefox.
Thanks to Ines Klimann.
This commit is contained in:
parent
c0122c069e
commit
9a0c830a59
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ async function setMaxVideoThroughput(c, bps) {
|
||||||
continue;
|
continue;
|
||||||
let p = s.getParameters();
|
let p = s.getParameters();
|
||||||
if(!p.encodings)
|
if(!p.encodings)
|
||||||
continue;
|
p.encodings = [{}];
|
||||||
p.encodings.forEach(e => {
|
p.encodings.forEach(e => {
|
||||||
if(bps > 0)
|
if(bps > 0)
|
||||||
e.maxBitrate = bps;
|
e.maxBitrate = bps;
|
||||||
|
|
Loading…
Reference in a new issue