mirror of
https://github.com/jech/galene.git
synced 2024-11-09 18:25:58 +01:00
Protect against closed streams in recomputeUserStreams.
This commit is contained in:
parent
d236f4c6df
commit
c18ec32c85
1 changed files with 2 additions and 0 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Reference in a new issue