rtcRoom$onUserPublishStreamVideo$info$isPublish method

FutureOr<void> rtcRoom$onUserPublishStreamVideo$info$isPublish(
  1. ByteRTCGameRoom rtcRoom,
  2. NSString streamId,
  3. ByteRTCStreamInfo info,
  4. BOOL isPublish,
)

@detail callback @region 房间管理 @author xuyiling.x10 @brief 房间内远端摄像头采集的媒体流的回调。 @param rtcRoom ByteRTCGameRoom 实例。 @param streamId 流 ID。 @param info 流信息,参看 ByteRTCStreamInfo{@link #ByteRTCStreamInfo}。 @param isPublish 为true代表流发布,为false代表流移除。 @order 2

Implementation

FutureOr<void> rtcRoom$onUserPublishStreamVideo$info$isPublish(
    ByteRTCGameRoom rtcRoom,
    NSString streamId,
    ByteRTCStreamInfo info,
    BOOL isPublish) async {}