|
@@ -7902,7 +7902,7 @@ SmallVideo.prototype.hideIndicator = function () {
|
7902
|
7902
|
SmallVideo.prototype.showAudioIndicator = function(isMuted) {
|
7903
|
7903
|
var audioMutedSpan = $('#' + this.videoSpanId + '>span.audioMuted');
|
7904
|
7904
|
|
7905
|
|
- if (isMuted === 'false') {
|
|
7905
|
+ if (!isMuted) {
|
7906
|
7906
|
if (audioMutedSpan.length > 0) {
|
7907
|
7907
|
audioMutedSpan.popover('hide');
|
7908
|
7908
|
audioMutedSpan.remove();
|
|
@@ -8456,7 +8456,7 @@ var VideoLayout = (function (my) {
|
8456
|
8456
|
* @param {boolean} isMuted
|
8457
|
8457
|
*/
|
8458
|
8458
|
my.showLocalAudioIndicator = function(isMuted) {
|
8459
|
|
- localVideoThumbnail.showAudioIndicator(isMuted.toString());
|
|
8459
|
+ localVideoThumbnail.showAudioIndicator(isMuted);
|
8460
|
8460
|
};
|
8461
|
8461
|
|
8462
|
8462
|
/**
|
|
@@ -14988,7 +14988,6 @@ module.exports = function(XMPP, eventEmitter) {
|
14988
|
14988
|
if (audioMuted.length) {
|
14989
|
14989
|
eventEmitter.emit(XMPPEvents.AUDIO_MUTED,
|
14990
|
14990
|
from, (audioMuted.text() === "true"));
|
14991
|
|
- $(document).trigger('audiomuted.muc', [from, ]);
|
14992
|
14991
|
}
|
14993
|
14992
|
|
14994
|
14993
|
// Parse video info tag.
|
|
@@ -14996,7 +14995,6 @@ module.exports = function(XMPP, eventEmitter) {
|
14996
|
14995
|
if (videoMuted.length) {
|
14997
|
14996
|
eventEmitter.emit(XMPPEvents.VIDEO_MUTED,
|
14998
|
14997
|
from, (videoMuted.text() === "true"));
|
14999
|
|
- $(document).trigger('videomuted.muc', [from, ]);
|
15000
|
14998
|
}
|
15001
|
14999
|
|
15002
|
15000
|
var startMuted = $(pres).find('>startmuted');
|