onFirstRemoteVideoFrame property
void Function(RtcConnection connection, int remoteUid, int width, int height, int elapsed)?
onFirstRemoteVideoFrame
final
Callback when the renderer receives the first remote video frame.
This callback is only triggered when the SDK is used for rendering. If you use custom video rendering, this callback is not triggered, and you need to implement it using methods outside the SDK.
uidUser ID that specifies whose video stream it is.connectionConnection information. See RtcConnection.widthWidth (px) of the video stream.heightHeight (px) of the video stream.elapsedTime elapsed (ms) from the local call to joinChannel to the occurrence of this event.
Implementation
final void Function(RtcConnection connection, int remoteUid, int width,
int height, int elapsed)? onFirstRemoteVideoFrame;