Просмотр исходного кода

Merge pull request #734 from jitsi/no_audio_element_fix

Fixes the issue with missing audio element for remote participants
j8
Дамян Минков 9 лет назад
Родитель
Сommit
64ee01d831
1 измененных файлов: 1 добавлений и 7 удалений
  1. 1
    7
      modules/UI/videolayout/RemoteVideo.js

+ 1
- 7
modules/UI/videolayout/RemoteVideo.js Просмотреть файл

@@ -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") +

Загрузка…
Отмена
Сохранить