chore: fix video muted updates for local stream

This commit is contained in:
td 2022-09-09 14:39:56 +05:30
parent c89c1cb7cd
commit f15b1cf942
No known key found for this signature in database
GPG Key ID: F6D9E9BF14C7D103
1 changed files with 1 additions and 1 deletions

View File

@ -1033,7 +1033,7 @@ class GroupCall {
call.setMicrophoneMuted(audioMuted); call.setMicrophoneMuted(audioMuted);
} }
final videoMuted = localUserMediaStream?.isAudioMuted() ?? true; final videoMuted = localUserMediaStream?.isVideoMuted() ?? true;
if (call.localUserMediaStream != null && if (call.localUserMediaStream != null &&
call.isLocalVideoMuted != videoMuted) { call.isLocalVideoMuted != videoMuted) {