[iOS] Fix incorrect call to setAudioMuted in CallKit

Audio muting does not have an authority.
This commit is contained in:
Saúl Ibarra Corretgé 2018-06-15 11:38:32 +02:00 committed by Lyubo Marinov
parent 0d3fac7c0f
commit 28861c0054
1 changed files with 1 additions and 3 deletions

View File

@ -21,7 +21,6 @@ import {
MEDIA_TYPE,
SET_AUDIO_MUTED,
SET_VIDEO_MUTED,
VIDEO_MUTISM_AUTHORITY,
isVideoMutedByAudioOnly,
setAudioMuted
} from '../../base/media';
@ -297,8 +296,7 @@ function _onPerformSetMutedCallAction({ callUUID, muted: newValue }) {
const value = Boolean(newValue);
sendAnalytics(createTrackMutedEvent('audio', 'callkit', value));
dispatch(setAudioMuted(
value, VIDEO_MUTISM_AUTHORITY.USER, /* ensureTrack */ true));
dispatch(setAudioMuted(value, /* ensureTrack */ true));
}
}
}