|
@@ -90,11 +90,11 @@ function _appStateChanged({ dispatch }, next, action) {
|
90
|
90
|
* @returns {Object} The value returned by {@code next(action)}.
|
91
|
91
|
*/
|
92
|
92
|
function _setAudioOnly({ dispatch }, next, action) {
|
93
|
|
- const { audioOnly } = action;
|
|
93
|
+ const { audioOnly, ensureVideoTrack } = action;
|
94
|
94
|
|
95
|
95
|
sendAnalytics(createTrackMutedEvent('video', 'audio-only mode', audioOnly));
|
96
|
96
|
|
97
|
|
- dispatch(setVideoMuted(audioOnly, VIDEO_MUTISM_AUTHORITY.AUDIO_ONLY));
|
|
97
|
+ dispatch(setVideoMuted(audioOnly, VIDEO_MUTISM_AUTHORITY.AUDIO_ONLY, ensureVideoTrack));
|
98
|
98
|
|
99
|
99
|
return next(action);
|
100
|
100
|
}
|