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:
commit
64ee01d831
|
@ -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