setParticipantAudioEnabled method
void
setParticipantAudioEnabled({})
override
Implementation
@override
void setParticipantAudioEnabled({
required String targetId,
required bool isEnabled,
}) {
if (_remoteSubscribers[targetId]?.isAudioEnabled == isEnabled) return;
_remoteSubscribers[targetId] =
_remoteSubscribers[targetId]!.copyWith(isAudioEnabled: isEnabled);
_notify(CallbackEvents.shouldBeUpdateState);
}