firstRemoteVideoFrame property Null safety

VideoFrameWithUidCallback? firstRemoteVideoFrame
read / write

Occurs when the first remote video frame is rendered.

Deprecated Use VideoRemoteState.Starting or VideoRemoteState.Decoding in the remoteVideoStateChanged callback instead.

This callback is triggered after the first frame of the remote video is rendered on the video window. The application can retrieve the data of the time elapsed from the user joining the channel until the first video frame is displayed.

The VideoFrameWithUidCallback typedef includes the following parameters:

  • int uid: User ID of the remote user sending the video streams.
  • int width: Width (pixels) of the video stream.
  • int height: Height (pixels) of the video stream.
  • int elapsed: Time elapsed (ms) from the local user calling RtcEngine.joinChannel until this callback is triggered.


VideoFrameWithUidCallback? firstRemoteVideoFrame;