|
|
@@ -330,9 +330,13 @@ export default {
|
|
330
|
330
|
const mute = track.isMuted();
|
|
331
|
331
|
if(track.isLocal()){
|
|
332
|
332
|
id = this.localId;
|
|
333
|
|
- (track.getType() === "audio")?
|
|
334
|
|
- APP.statistics.onAudioMute(mute) :
|
|
|
333
|
+ if(track.getType() === "audio") {
|
|
|
334
|
+ APP.statistics.onAudioMute(mute);
|
|
|
335
|
+ this.audioMuted = mute;
|
|
|
336
|
+ } else {
|
|
335
|
337
|
APP.statistics.onVideoMute(mute);
|
|
|
338
|
+ this.videoMuted = mute;
|
|
|
339
|
+ }
|
|
336
|
340
|
} else {
|
|
337
|
341
|
id = track.getParticipantId();
|
|
338
|
342
|
}
|
|
|
@@ -408,11 +412,9 @@ export default {
|
|
408
|
412
|
|
|
409
|
413
|
APP.UI.addListener(UIEvents.AUDIO_MUTED, (muted) => {
|
|
410
|
414
|
(muted)? localAudio.mute() : localAudio.unmute();
|
|
411
|
|
- this.audioMuted = muted;
|
|
412
|
415
|
});
|
|
413
|
416
|
APP.UI.addListener(UIEvents.VIDEO_MUTED, (muted) => {
|
|
414
|
417
|
(muted)? localVideo.mute() : localVideo.unmute();
|
|
415
|
|
- this.videoMuted = muted;
|
|
416
|
418
|
});
|
|
417
|
419
|
|
|
418
|
420
|
if (!interfaceConfig.filmStripOnly) {
|