Fixes the issue with missing audio element for remote participants
This commit is contained in:
parent
dfa9bab9e1
commit
1963972f75
|
@ -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") +
|
||||
|
|
Loading…
Reference in New Issue