RTCRoomEventHandler class

房间事件回调

Properties

hashCode int
The hash code for this object.
no setterinherited
onAudioStreamBanned OnAudioStreamBannedType?
通过调用服务端 BanUserStream/UnbanUserStream 方法禁用/解禁指定房间内指定用户音频流的发送时,触发此回调。
getter/setter pair
onAVSyncStateChange OnAVSyncStateChangeType?
发布端调用 RTCRoom.setMultiDeviceAVSync 后音视频同步状态发生改变时,会收到此回调。
getter/setter pair
onForwardStreamEvent OnForwardStreamEventType?
跨房间媒体流转发事件回调
getter/setter pair
onForwardStreamStateChanged OnForwardStreamStateChangedType?
跨房间媒体流转发状态和错误回调
getter/setter pair
onLeaveRoom OnLeaveRoomType?
离开房间回调。
getter/setter pair
onLocalStreamStats OnLocalStreamStatsType?
反映通话中本地设备发送音/视频流的统计信息以及网络状况的回调,每 2s 触发一次。
getter/setter pair
onNetworkQuality OnNetworkQualityType?
加入房间后, 以 2 秒 1 次的频率,报告用户的网络质量信息
getter/setter pair
onPublishPrivilegeTokenWillExpire EmptyCallbackType?
Token 发布权限过期前 30 秒将触发该回调
收到该回调时需调用 RTCRoom.updateToken 更新 Token 发布权限。
getter/setter pair
onRemoteStreamStats OnRemoteStreamStatsType?
通话中本地设备接收订阅的远端音/视频流的统计信息以及网络状况,每 2s 触发一次。
getter/setter pair
onRoomBinaryMessageReceived OnBinaryMessageReceivedType?
收到来自房间内广播的二进制消息时,收到此回调。
getter/setter pair
onRoomExtraInfoUpdate OnRoomExtraInfoUpdateType?
接收同一房间内,其他用户调用 RTCRoom.setRoomExtraInfo 设置的房间附加信息的回调。
getter/setter pair
onRoomMessageReceived OnMessageReceivedType?
收到来自房间内广播的文本消息时,收到此回调。
getter/setter pair
onRoomMessageSendResult OnRoomMessageSendResultType?
向房间内所有用户发送文本或二进制消息后,收到此回调。
getter/setter pair
onRoomStateChanged OnRoomStateChangedType?
房间状态改变回调
getter/setter pair
onRoomStats OnRoomStatsType?
房间内通话统计信息回调。
getter/setter pair
onSetRoomExtraInfoResult OnSetRoomExtraInfoResultType?
调用 RTCRoom.setRoomExtraInfo 设置房间附加信息结果的回调。
getter/setter pair
onStreamStateChanged OnRoomStateChangedType?
流状态改变回调,发生流相关的警告或错误时会收到此回调。
getter/setter pair
onSubscribePrivilegeTokenWillExpire EmptyCallbackType?
Token 订阅权限过期前 30 秒将触发该回调。
getter/setter pair
onSubtitleMessageReceived OnSubtitleMessageReceivedType?
字幕相关内容回调。
getter/setter pair
onSubtitleStateChanged OnSubtitleStateChangedType?
字幕状态发生改变回调。
getter/setter pair
onTokenWillExpire EmptyCallbackType?
Token 过期前 30 秒将触发该回调
getter/setter pair
onUserBinaryMessageReceived OnBinaryMessageReceivedType?
收到来自房间中其他用户发来的二进制消息时,收到此回调。
getter/setter pair
onUserJoined OnUserJoinedType?
远端可见用户加入房间,或房内隐身用户切换为可见时,房间内的其他用户会收到此回调。
getter/setter pair
onUserLeave OnUserLeaveType?
远端可见用户离开房间,或切换至隐身时,房间内的其他用户会收到此回调。
getter/setter pair
onUserMessageReceived OnMessageReceivedType?
收到来自房间中其他用户发来的文本消息时,收到此回调。
getter/setter pair
onUserMessageSendResult OnMessageSendResultType?
向房间内单个用户发送文本或二进制消息后,收到此回调。
getter/setter pair
onUserPublishScreen OnUserPublishStreamType?
房间内新增远端屏幕共享音视频流的回调。
getter/setter pair
onUserPublishStream OnUserPublishStreamType?
房间内新增远端摄像头/麦克风采集音视频流的回调。
getter/setter pair
onUserUnpublishScreen OnUserUnpublishStreamType?
房间内远端屏幕共享音视频流移除的回调。
getter/setter pair
onUserUnpublishStream OnUserUnpublishStreamType?
房间内远端摄像头/麦克风采集的媒体流移除的回调。
getter/setter pair
onUserVisibilityChanged OnUserVisibilityChangedType?
用户调用 RTCRoom.setUserVisibility 设置用户可见性的回调。
getter/setter pair
onVideoStreamBanned OnVideoStreamBannedType?
通过调用服务端 BanUserStream/UnbanUserStream 方法禁用/解禁指定房间内指定用户视频流的发送时,触发此回调。
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited