rtcRoom$onStreamRemove$stream$reason method

FutureOr<void> rtcRoom$onStreamRemove$stream$reason(
  1. ByteRTCRoom rtcRoom,
  2. NSString uid,
  3. id<ByteRTCStream> stream,
  4. ByteRTCStreamRemoveReason reason,
)

@hidden @deprecated since 3.36 and will be deleted in 3.51, use rtcRoom:onUserUnpublishStream:type:reason: instead. @detail callback @author shenpengliang @brief 房间内的远端用户停止发布音视频流时,本地用户会收到此回调通知。 @param rtcRoom ByteRTCRoom 对象 @param uid 远端流来源的用户 ID 。 @param stream 流的属性,参看 ByteRTCStream{@link #ByteRTCStream}。 @param reason 远端流移除的原因,参看 ByteRTCStreamRemoveReason{@link #ByteRTCStreamRemoveReason} 。

Implementation

FutureOr<void> rtcRoom$onStreamRemove$stream$reason(
    ByteRTCRoom rtcRoom,
    NSString uid,
    id<ByteRTCStream> stream,
    ByteRTCStreamRemoveReason reason) async {}