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.45 and will be deleted in 3.51, use rtcRoom:onUserUnpublishStream:type:reason: instead. @detail callback @author shenpengliang @brief When a remote user in the room stops publishing audio & video streams, local users will receive this callback notification. @param rtcRoom ByteRTCRoom object @param uid User ID of the remote stream source. @param stream The properties of the stream. See ByteRTCStream{@link #ByteRTCStream}. @param reason For reasons of remote stream removal. See ByteRTCStreamRemoveReason{@link #ByteRTCStreamRemoveReason}.

Implementation

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