onWTNFirstRemoteVideoFrameDecoded method

FutureOr<void> onWTNFirstRemoteVideoFrameDecoded(
  1. String streamId,
  2. VideoFrameInfo info
)

@detail callback @valid since 3.60. Since version 3.60, this callback replaces onFirstPublicStreamVideoFrameDecoded. If you have upgraded to version 3.60 or later and are still using this method, please migrate to this callback. @author hanchenchen @brief Callback of successfully decoding of the first video frame of the WTN stream
Refer to subscribeWTNVideoStream{@link #IWTNStream#subscribeWTNVideoStream} for details about subscribing to a WTN video stream. @param streamId ID of the WTN stream @param info Information of the video stream. Refer to VideoFrameInfo{@link #VideoFrameInfo} for more details. @order 4

Implementation

FutureOr<void> onWTNFirstRemoteVideoFrameDecoded(
    String streamId, VideoFrameInfo info) async {}