Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixes the issue with missing audio element for remote participants

hristoterezov1963972f7562
diff --git a/modules/UI/videolayout/RemoteVideo.js b/modules/UI/videolayout/RemoteVideo.js
index 32c3fd1146..016298f35c 100644
--- a/modules/UI/videolayout/RemoteVideo.js
+++ b/modules/UI/videolayout/RemoteVideo.js
@@ -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") +