Update the sticky EventBus message to reflect changes in microphone enabled state.

Fixes #7827
master
Alan Evans 2019-05-06 18:10:27 -03:00 committed by Greyson Parrelli
parent c274c1bb28
commit 18531146f7
1 changed files with 4 additions and 0 deletions

View File

@ -794,6 +794,10 @@ public class WebRtcCallService extends Service implements InjectableType,
if (this.peerConnection != null) {
this.peerConnection.setAudioEnabled(this.microphoneEnabled);
}
if (recipient != null) {
sendMessage(viewModelStateFor(callState), recipient, localCameraState, remoteVideoEnabled, bluetoothAvailable, microphoneEnabled);
}
}
private void handleSetMuteVideo(Intent intent) {