setVideoEnabled method

  1. @override
void setVideoEnabled({
  1. required String targetId,
  2. required bool isEnabled,
})
override

Implementation

@override
void setVideoEnabled({required String targetId, required bool isEnabled}) {
  if (_subscribers[targetId]?.isVideoEnabled == isEnabled) return;

  _subscribers[targetId]?.isVideoEnabled = isEnabled;
  _notify(CallbackEvents.shouldBeUpdateState);
}