onFirstRemoteVideoFrame property

(void Function(RtcConnection connection, int remoteUid, int width, int height, int elapsed)?) onFirstRemoteVideoFrame
final

Occurs when the renderer receives the first frame of the remote video.

  • uid The ID of the remote user sending the video stream.
  • connection The connection information. See RtcConnection .
  • width The width (px) of the video stream.
  • height The height (px) of the video stream.
  • elapsed The time elapsed (ms) from the local user calling joinChannel 2/2 until the SDK triggers this callback.

Implementation

final void Function(RtcConnection connection, int remoteUid, int width,
    int height, int elapsed)? onFirstRemoteVideoFrame;