Fixes mute check, prevents disabling the menu when the remote participant is muted.
This commit is contained in:
parent
5446c513f5
commit
374763c325
|
@ -320,7 +320,7 @@ RemoteVideo.prototype.updateRemoteVideoMenu = function (isMuted) {
|
||||||
if (muteMenuItem.length) {
|
if (muteMenuItem.length) {
|
||||||
var muteLink = muteMenuItem.get(0);
|
var muteLink = muteMenuItem.get(0);
|
||||||
|
|
||||||
if (isMuted === 'true') {
|
if (isMuted) {
|
||||||
muteLink.innerHTML = mutedIndicator + ' Muted';
|
muteLink.innerHTML = mutedIndicator + ' Muted';
|
||||||
muteLink.className = 'mutelink disabled';
|
muteLink.className = 'mutelink disabled';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue