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