onFirstLocalVideoFrame property
void Function(VideoSourceType source, int width, int height, int elapsed)?
onFirstLocalVideoFrame
final
Occurs when the first local video frame is displayed on the local video view. The SDK triggers this callback when the first local video frame is displayed on the local video view.
source
The type of the video source. See VideoSourceType .width
The width (px) of the first local video frame.height
The height (px) of the first local video frame.elapsed
Time elapsed (ms) from the local user calling joinChannel until the SDK triggers this callback. If you call startPreview before calling joinChannel, then this parameter is the time elapsed from calling the startPreview method until the SDK triggers this callback.
Implementation
final void Function(
VideoSourceType source, int width, int height, int elapsed)?
onFirstLocalVideoFrame;