onWTNFirstRemoteVideoFrameDecoded$withFrameInfo method

FutureOr<void> onWTNFirstRemoteVideoFrameDecoded$withFrameInfo(
  1. NSString streamId,
  2. ByteRTCVideoFrameInfo frameInfo
)

@detail callback @valid since 3.60. 自 3.60 起,该回调替代了 onWTNFirstRemoteVideoFrameDecoded:withFrameInfo:。如果你已升级至 3.60 及以上版本,并且仍在使用该方法,请迁移到此回调。 @author hanchenchen @brief WTN 流的首帧视频解码成功
关于 订阅 WTN 流,详见 subscribeWTNVideoStream:subscribe:{@link #ByteRTCWTNStream#subscribeWTNVideoStream:subscribe}。 @param streamId WTN 流 ID @param frameInfo 视频帧信息,参看 ByteRTCVideoFrameInfo{@link #ByteRTCVideoFrameInfo} @order 4

Implementation

FutureOr<void> onWTNFirstRemoteVideoFrameDecoded$withFrameInfo(
    NSString streamId, ByteRTCVideoFrameInfo frameInfo) async {}