Explorar el Código

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

j8
paweldomas hace 9 años
padre
commit
260b610725
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4
    2
      modules/UI/videolayout/RemoteVideo.js

+ 4
- 2
modules/UI/videolayout/RemoteVideo.js Ver fichero

@@ -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…
Cancelar
Guardar