rtcRoom$onVideoSubscribeStateChanged$info$state$reason method

FutureOr<void> rtcRoom$onVideoSubscribeStateChanged$info$state$reason(
  1. ByteRTCGameRoom rtcRoom,
  2. NSString streamId,
  3. ByteRTCStreamInfo info,
  4. ByteRTCSubscribeState state,
  5. ByteRTCSubscribeStateChangeReason reason,
)

@detail callback @author xuyiling.x10 @brief 视频订阅状态发生改变回调。 @param rtcRoom ByteRTCGameRoom 实例。 @param streamId 视频流 ID。 @param info 视频流信息,参看 ByteRTCStreamInfo{@link #ByteRTCStreamInfo}。 @param state 订阅状态码,参看 ByteRTCSubscribeState{@link #ByteRTCSubscribeState}。 @param reason 视频订阅状态改变的具体原因,参看 ByteRTCSubscribeStateChangeReason{@link #ByteRTCSubscribeStateChangeReason}。 @order 0

Implementation

FutureOr<void> rtcRoom$onVideoSubscribeStateChanged$info$state$reason(
    ByteRTCGameRoom rtcRoom,
    NSString streamId,
    ByteRTCStreamInfo info,
    ByteRTCSubscribeState state,
    ByteRTCSubscribeStateChangeReason reason) async {}