Fixes the issue with missing audio element for remote participants

This commit is contained in:
hristoterezov 2016-07-15 13:12:14 -05:00
parent dfa9bab9e1
commit 1963972f75
1 changed files with 1 additions and 7 deletions

View File

@ -144,13 +144,7 @@ RemoteVideo.prototype.removeRemoteStreamElement = function (stream) {
var isVideo = stream.isVideoTrack();
var elementID = SmallVideo.getStreamElementID(stream);
var select = null;
if (isVideo) {
select = $('#' + elementID);
}
else
select = $('#' + this.videoSpanId + '>audio');
var select = $('#' + elementID);
select.remove();
console.info((isVideo ? "Video" : "Audio") +