|
@@ -636,7 +636,7 @@ export default {
|
636
|
636
|
// so that the user can try unmute later on and add audio/video
|
637
|
637
|
// to the conference
|
638
|
638
|
if (!tracks.find(t => t.isAudioTrack())) {
|
639
|
|
- this.setAudioMuteStatus(true);
|
|
639
|
+ this.updateAudioIconEnabled();
|
640
|
640
|
}
|
641
|
641
|
|
642
|
642
|
if (!tracks.find(t => t.isVideoTrack())) {
|
|
@@ -845,7 +845,7 @@ export default {
|
845
|
845
|
// This will only modify base/media.audio.muted which is then synced
|
846
|
846
|
// up with the track at the end of local tracks initialization.
|
847
|
847
|
muteLocalAudio(mute);
|
848
|
|
- this.setAudioMuteStatus(mute);
|
|
848
|
+ this.updateAudioIconEnabled();
|
849
|
849
|
|
850
|
850
|
return;
|
851
|
851
|
} else if (this.isLocalAudioMuted() === mute) {
|
|
@@ -1394,7 +1394,7 @@ export default {
|
1394
|
1394
|
APP.store.dispatch(
|
1395
|
1395
|
replaceLocalTrack(oldTrack, newTrack, room))
|
1396
|
1396
|
.then(() => {
|
1397
|
|
- this.setAudioMuteStatus(this.isLocalAudioMuted());
|
|
1397
|
+ this.updateAudioIconEnabled();
|
1398
|
1398
|
})
|
1399
|
1399
|
.then(resolve)
|
1400
|
1400
|
.catch(reject)
|
|
@@ -2675,15 +2675,6 @@ export default {
|
2675
|
2675
|
APP.UI.setVideoMuted(this.getMyUserId());
|
2676
|
2676
|
},
|
2677
|
2677
|
|
2678
|
|
- /**
|
2679
|
|
- * Sets the audio muted status.
|
2680
|
|
- *
|
2681
|
|
- * @param {boolean} muted - New muted status.
|
2682
|
|
- */
|
2683
|
|
- setAudioMuteStatus(muted) {
|
2684
|
|
- APP.UI.setAudioMuted(this.getMyUserId(), muted);
|
2685
|
|
- },
|
2686
|
|
-
|
2687
|
2678
|
/**
|
2688
|
2679
|
* Dispatches the passed in feedback for submission. The submitted score
|
2689
|
2680
|
* should be a number inclusively between 1 through 5, or -1 for no score.
|