onFirstRemoteVideoFrameRendered property
@detail callback
@author zhushufan.ref
@brief The subscriber will receive this callback when the first frame of the receiving video stream begins to render. The following situations are included:
1. The publisher publishes video for the first time.
2. In 1, the publisher cancels the video stream after publishing and publishes it again.
3. In 1, the publisher stops video capture after publishing and restarts it. (Or when using an external source, the stream is stopped and restarted again.)
4. In 1, the subscriber cancels the video stream and subscribes to it again. (The interface includes subscribeAllStreamsVideo{@link #RTCRoom-subscribeAllStreamsVideo}, pauseAllSubscribedStreamVideo{@link #RTCRoom#pauseAllSubscribedStreamVideo}.
@param streamId Remote stream ID
@param streamInfo Remote Stream Information. See StreamInfo{@link #StreamInfo}
@param frameInfo Video Frame Information. See VideoFrameInfo{@link #VideoFrameInfo}
Implementation
FutureOr<void> Function(
String streamId, StreamInfo streamInfo, VideoFrameInfo frameInfo)?
onFirstRemoteVideoFrameRendered;