diff --git a/static/sfu.js b/static/sfu.js index dbf1a7d..29ed2d1 100644 --- a/static/sfu.js +++ b/static/sfu.js @@ -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;