From 2c9ee2f431c6ed61c673371d5c79014524a5583e Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Tue, 24 Nov 2020 21:21:26 +0100 Subject: [PATCH] Set outgoing rate for all stream types, not just local. We were inconsistent with stream creation. --- static/sfu.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/sfu.js b/static/sfu.js index 74f74a5..ad36a46 100644 --- a/static/sfu.js +++ b/static/sfu.js @@ -492,8 +492,7 @@ getSelectElement('sendselect').onchange = async function(e) { let t = getMaxVideoThroughput(); for(let id in serverConnection.up) { let c = serverConnection.up[id]; - if(c.kind === 'local') - await setMaxVideoThroughput(c, t); + await setMaxVideoThroughput(c, t); } }