onLocalVideoEvent property

void Function(VideoSourceType source, LocalVideoEventType event)? onLocalVideoEvent
final

Callback triggered when a local video event occurs.

Since Available since v6.6.2. You can use this callback to get the reason for the local video event.

  • source Type of video source. See VideoSourceType.
  • event Type of local video event. See LocalVideoEventType.

Implementation

final void Function(VideoSourceType source, LocalVideoEventType event)?
    onLocalVideoEvent;