firstLocalVideoFramePublished property
Occurs when the first video frame is published.
The SDK triggers this callback under one of the following circumstances:
- The local client enables the video module and calls RtcEngine.joinChannel successfully.
- The local client calls RtcEngine.muteLocalVideoStream (
true) and RtcEngine.muteLocalVideoStream (false) in sequence. - The local client calls RtcEngine.disableVideo and RtcEngine.enableVideo in sequence.
The ElapsedCallback typedef includes the following parameters:
- int
Elapsed: Time elapsed (ms) from the local user calling the RtcEngine.joinChannel until this callback is triggered.
Implementation
ElapsedCallback? firstLocalVideoFramePublished;