Explorar el Código

Fixes the issue with missing audio element for remote participants

master
hristoterezov hace 9 años
padre
commit
1963972f75
Se han modificado 1 ficheros con 1 adiciones y 7 borrados
  1. 1
    7
      modules/UI/videolayout/RemoteVideo.js

+ 1
- 7
modules/UI/videolayout/RemoteVideo.js Ver fichero

@@ -144,13 +144,7 @@ RemoteVideo.prototype.removeRemoteStreamElement = function (stream) {
144 144
     var isVideo = stream.isVideoTrack();
145 145
 
146 146
     var elementID = SmallVideo.getStreamElementID(stream);
147
-    var select = null;
148
-    if (isVideo) {
149
-        select = $('#' + elementID);
150
-    }
151
-    else
152
-        select = $('#' + this.videoSpanId + '>audio');
153
-
147
+    var select = $('#' + elementID);
154 148
     select.remove();
155 149
 
156 150
     console.info((isVideo ? "Video" : "Audio") +

Loading…
Cancelar
Guardar