Merge pull request #734 from jitsi/no_audio_element_fix

Fixes the issue with missing audio element for remote participants
This commit is contained in:
Дамян Минков 2016-07-15 13:18:47 -05:00 committed by GitHub
commit 64ee01d831
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") +