onCaptureVideoFrame property
Occurs each time the SDK receives a video frame captured by local devices.
You can get raw video data collected by the local device through this callback.
- sourceTypeVideo source types, including cameras, screens, or media player. See VideoSourceType.
- videoFrameThe video frame. See VideoFrame. The default value of the video frame data format obtained through this callback is as follows: Android: I420 iOS: I420 macOS: I420 Windows: YUV420
Implementation
final void Function(VideoSourceType sourceType, VideoFrame videoFrame)?
    onCaptureVideoFrame;