Fixes issue with avatar not being displayed when user is in the lastN set, but has video muted.
This commit is contained in:
parent
a7cd8bab11
commit
260b610725
|
@ -268,8 +268,10 @@ RemoteVideo.prototype.showPeerContainer = function (state) {
|
||||||
resizeThumbnails = true;
|
resizeThumbnails = true;
|
||||||
$(this.container).show();
|
$(this.container).show();
|
||||||
}
|
}
|
||||||
|
// Call showAvatar with undefined, so that we'll figure out if avatar
|
||||||
this.showAvatar(state !== 'show');
|
// should be displayed based on video muted status and whether or not
|
||||||
|
// it's in the lastN set
|
||||||
|
this.showAvatar(undefined);
|
||||||
}
|
}
|
||||||
else if ($(this.container).is(':visible') && isHide)
|
else if ($(this.container).is(':visible') && isHide)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue