setLocalVideoMuted method
Implementation
Future<void> setLocalVideoMuted(bool muted) async {
if (!muted) {
final videoToSend = await hasVideoToSend();
if (!videoToSend) {
if (remoteSDPStreamMetadata == null) return;
await insertVideoTrackToAudioOnlyStream();
}
}
localUserMediaStream?.setVideoMuted(muted);
await updateMuteStatus();
}