Fix a potential problem with removing old SSRCs.

This commit is contained in:
Boris Grozev 2014-07-21 09:49:50 +02:00
parent 777475c9ce
commit 304cdf5b40
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -734,7 +734,7 @@ $(document).bind('presence.muc', function (event, jid, info, pres) {
if (ssrc2jid[ssrc] == jid) { if (ssrc2jid[ssrc] == jid) {
delete ssrc2jid[ssrc]; delete ssrc2jid[ssrc];
} }
if (ssrc2videoType == jid) { if (ssrc2videoType[ssrc] == jid) {
delete ssrc2videoType[ssrc]; delete ssrc2videoType[ssrc];
} }
}); });