Commit c18ec32c authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Protect against closed streams in recomputeUserStreams.

parent d236f4c6
......@@ -1068,6 +1068,8 @@ function recomputeUserStreams(sc, id, c) {
for(id in sc.down) {
let c = sc.down[id];
if(!c.stream)
continue;
if(!user.down[c.label])
user.down[c.label] = {};
c.stream.getTracks().forEach(t => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment