rtcEngine$onFirstRemoteVideoFrameRendered$info$withFrameInfo method

FutureOr<void> rtcEngine$onFirstRemoteVideoFrameRendered$info$withFrameInfo(
  1. ByteRTCEngine engine,
  2. NSString streamId,
  3. ByteRTCStreamInfo info,
  4. ByteRTCVideoFrameInfo frameInfo,
)

@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, including the initial publication and restart after cancellation.
2. After the publisher stops video capture, they restart it. When using an external source, this involves stopping the stream and then streaming again.
3. After the publisher publishes video, the subscriber cancels the subscription to video and then re-subscribes to it. @param engine ByteRTCEngine object @param streamId ID of Remote stream information. @param info Remote stream information. See ByteRTCStreamInfo{@link #ByteRTCStreamInfo}. @param frameInfo Video frame information. See ByteRTCVideoFrameInfo{@link #ByteRTCVideoFrameInfo}

Implementation

FutureOr<void> rtcEngine$onFirstRemoteVideoFrameRendered$info$withFrameInfo(
    ByteRTCEngine engine,
    NSString streamId,
    ByteRTCStreamInfo info,
    ByteRTCVideoFrameInfo frameInfo) async {}