rtcRoom$onStreamRemove$stream$reason method
- ByteRTCGameRoom rtcRoom,
- NSString uid,
- id<
ByteRTCStream> stream, - ByteRTCStreamRemoveReason reason,
@hidden @deprecated since 3.45 and will be deleted in later version, use rtcRoom:onUserPublishStreamAudio:info:isPublish:{@link #ByteRTCGameRoomDelegate#rtcRoom:onUserPublishStreamAudio:info:isPublish}, rtcRoom:onUserPublishStreamVideo:info:isPublish:{@link #ByteRTCGameRoomDelegate#rtcRoom:onUserPublishStreamVideo:info:isPublish}, rtcRoom:onUserPublishScreenVideo:uid:isPublish:{@link #ByteRTCGameRoomDelegate#rtcRoom:onUserPublishScreenVideo:uid:isPublish}, and rtcRoom:onUserPublishScreenAudio:uid:isPublish:{@link #ByteRTCGameRoomDelegate#rtcRoom:onUserPublishScreenAudio:uid:isPublish} instead. @detail callback @author luomingkang @brief When a remote user in the room stops publishing audio & video streams, local users will receive this callback notification. @param rtcRoom ByteRTCGameRoom instance. @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(
ByteRTCGameRoom rtcRoom,
NSString uid,
id<ByteRTCStream> stream,
ByteRTCStreamRemoveReason reason) async {}