1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-26 10:35:59 +01:00

Set outgoing rate for all stream types, not just local.

We were inconsistent with stream creation.
This commit is contained in:
Juliusz Chroboczek 2020-11-24 21:21:26 +01:00
parent 3167c217db
commit 2c9ee2f431

View file

@ -492,8 +492,7 @@ getSelectElement('sendselect').onchange = async function(e) {
let t = getMaxVideoThroughput(); let t = getMaxVideoThroughput();
for(let id in serverConnection.up) { for(let id in serverConnection.up) {
let c = serverConnection.up[id]; let c = serverConnection.up[id];
if(c.kind === 'local') await setMaxVideoThroughput(c, t);
await setMaxVideoThroughput(c, t);
} }
} }