Sfoglia il codice sorgente

Fixes issue with avatar not being displayed when user is in the lastN set, but has video muted.

master
paweldomas 9 anni fa
parent
commit
260b610725
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4
    2
      modules/UI/videolayout/RemoteVideo.js

+ 4
- 2
modules/UI/videolayout/RemoteVideo.js Vedi File

@@ -268,8 +268,10 @@ RemoteVideo.prototype.showPeerContainer = function (state) {
268 268
             resizeThumbnails = true;
269 269
             $(this.container).show();
270 270
         }
271
-
272
-        this.showAvatar(state !== 'show');
271
+        // Call showAvatar with undefined, so that we'll figure out if avatar
272
+        // should be displayed based on video muted status and whether or not
273
+        // it's in the lastN set
274
+        this.showAvatar(undefined);
273 275
     }
274 276
     else if ($(this.container).is(':visible') && isHide)
275 277
     {

Loading…
Annulla
Salva