rtcRoom$onStreamRemove$stream$reason method
- ByteRTCGameRoom rtcRoom,
- NSString uid,
- id<
ByteRTCStream> stream, - ByteRTCStreamRemoveReason reason,
@hidden @deprecated since 3.36 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 房间内的远端用户停止发布音视频流时,本地用户会收到此回调通知。 @param rtcRoom ByteRTCGameRoom 实例。 @param uid 远端流来源的用户 ID 。 @param stream 流的属性,参看 ByteRTCStream{@link #ByteRTCStream}。 @param reason 远端流移除的原因,参看 ByteRTCStreamRemoveReason{@link #ByteRTCStreamRemoveReason} 。
Implementation
FutureOr<void> rtcRoom$onStreamRemove$stream$reason(
ByteRTCGameRoom rtcRoom,
NSString uid,
id<ByteRTCStream> stream,
ByteRTCStreamRemoveReason reason) async {}