rtcRoom$onVideoSubscribeStateChanged$info$state$reason method

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

@detail callback brief Callback on the publishing state change of the screen-recording stream. @param rtcRoom The ByteRTCRoom instance. @param streamId Stream ID. @param info Stream information. @param state Room state code. See ByteRTCPublishState{@link #ByteRTCPublishState} for more. @param reason See ByteRTCPublishStateChangeReason{@link #ByteRTCPublishStateChangeReason} for more.

Implementation

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