RTCVideoEventHandler class

RTCVideo 事件回调接口

Properties

hashCode int
The hash code for this object.
no setterinherited
onActiveSpeaker OnActiveSpeakerType?
调用 RTCVideo.enableAudioPropertiesReport 后,你会周期性地收到此回调,获取房间内的最活跃用户信息
getter/setter pair
onAudioDeviceStateChanged OnAudioDeviceStateChangedType?
音频设备状态回调
getter/setter pair
onAudioDeviceWarning OnAudioDeviceWarningType?
音频设备警告回调
getter/setter pair
onAudioFramePlayStateChanged OnMediaFramePlayStateChangedType?
音频首帧播放状态改变回调
getter/setter pair
onAudioFrameSendStateChanged OnMediaFrameSendStateChangedType?
音频首帧发送状态改变回调
getter/setter pair
onAudioMixingPlayingProgress OnAudioMixingPlayingProgressType?
混音音频文件播放进度回调
getter/setter pair
onAudioMixingStateChanged OnAudioMixingStateChangedType?
音频混音文件播放状态改变时回调
getter/setter pair
onAudioRecordingStateUpdate OnAudioRecordingStateUpdateType?
调用 RTCVideo.startAudioRecordingRTCVideo.stopAudioRecording 改变音频文件录制状态时,收到此回调
getter/setter pair
onAudioRouteChanged OnAudioRouteChangedType?
音频播放路由变化时,收到该回调
getter/setter pair
onCloudProxyConnected OnCloudProxyConnectedType?
调用 RTCVideo.startCloudProxy 开启云代理,SDK 首次成功连接云代理服务器时,回调此事件
getter/setter pair
onConnectionStateChanged OnConnectionStateChanged?
当 SDK 与 RTC 服务器的网络连接状态改变时,收到该回调
getter/setter pair
onCreateRoomStateChanged OnCreateRoomStateChangedType?
创建房间失败回调
getter/setter pair
onEchoTestResult OnEchoTestResultType?
关于音视频回路测试结果的回调
getter/setter pair
onError OnErrorType?
发生错误回调
getter/setter pair
onExtensionAccessError OnExtensionAccessErrorType?
当访问插件失败时,收到此回调。
getter/setter pair
onFirstLocalAudioFrame OnFirstLocalAudioFrameType?
本地采集到第一帧音频帧时,收到此回调
getter/setter pair
onFirstLocalVideoFrameCaptured OnFirstLocalVideoFrameCapturedType?
第一帧本地采集的视频/屏幕共享画面在本地视图渲染完成后,收到此回调
getter/setter pair
onFirstPublicStreamAudioFrame OnFirstPublicStreamAudioFrameType?
公共流的音频首帧解码成功的回调
getter/setter pair
onFirstPublicStreamVideoFrameDecoded OnFirstPublicStreamVideoFrameDecodedType?
公共流的首帧视频解码成功
getter/setter pair
onFirstRemoteAudioFrame OnFirstRemoteAudioFrameType?
接收到来自远端音频流的第一帧时,收到该回调
getter/setter pair
onFirstRemoteVideoFrameDecoded OnFirstRemoteVideoFrameRenderedType?
第一帧远端视频流成功解码后,收到此回调
getter/setter pair
onFirstRemoteVideoFrameRendered OnFirstRemoteVideoFrameRenderedType?
第一帧远端视频流在视图上渲染成功后,收到此回调
getter/setter pair
onGetPeerOnlineStatus OnGetPeerOnlineStatusType?
调用 RTCVideo.getPeerOnlineStatus 后,收到此回调。
getter/setter pair
onHardwareEchoDetectionResult OnHardwareEchoDetectionResultType?
通话前回声检测结果回调
getter/setter pair
onHttpProxyState OnHttpProxyStateType?
HTTP 代理连接状态改变时,收到该回调。
getter/setter pair
onHttpsProxyState OnHttpsProxyStateType?
HTTPS 代理连接状态改变时,收到该回调。
getter/setter pair
onLicenseWillExpire OnLicenseWillExpireType?
license过期时间提醒
getter/setter pair
onLocalAudioPropertiesReport OnLocalAudioPropertiesReportType?
调用 RTCVideo.enableAudioPropertiesReport 后,会周期性收到此回调,获取本地麦克风和屏幕采集的音量信息
getter/setter pair
onLocalAudioStateChanged OnLocalAudioStateChangedType?
本地音频的状态发生改变时,收到此回调。
getter/setter pair
onLocalProxyStateChanged OnLocalProxyStateChangedType?
本地代理状态发生改变回调。调用 RTCVideo.setLocalProxy 设置本地代理后,SDK 会触发此回调,返回代理连接的状态。
getter/setter pair
onLocalVideoSizeChanged OnLocalVideoSizeChangedType?
本地视频大小或旋转信息发生改变时,收到此回调
getter/setter pair
onLocalVideoStateChanged OnLocalVideoStateChangedType?
本地视频流的状态发生改变时,收到此回调。
getter/setter pair
onLoginResult OnLoginResultType?
调用 RTCVideo.login 后,收到此回调。
getter/setter pair
onLogout OnLogoutType?
调用 RTCVideo.logout 后,收到此回调。
getter/setter pair
onNetworkDetectionResult OnNetworkDetectionResultType?
通话前网络探测结果
getter/setter pair
onNetworkDetectionStopped OnNetworkDetectionStoppedType?
通话前网络探测结束
getter/setter pair
onNetworkTimeSynchronized EmptyCallbackType?
首次调用 RTCVideo.getNetworkTimeInfo 后,SDK 内部启动网络时间同步,同步完成时会触发此回调。
getter/setter pair
onNetworkTypeChanged OnNetworkTypeChangedType?
当客户端的网络连接类型发生改变时,收到此回调
getter/setter pair
onPerformanceAlarms OnPerformanceAlarmsType?
未通过 RTCVideo.setPublishFallbackOption 开启发布性能回退,检测到设备性能不足时,收到此回调;
通过 RTCVideo.setPublishFallbackOption 开启发布性能回退,因设备性能/网络原因,造成发布性能回退/恢复时,收到此回调。
getter/setter pair
onPlayPublicStreamResult OnPlayPublicStreamResultType?
订阅公共流的结果回调
getter/setter pair
onPublicStreamDataMessageReceived OnPublicStreamDataMessageReceivedType?
回调公共流中包含的数据信息。
调用 RTCVideo.startPlayPublicStream 接口启动拉公共流功能后,通过此回调收到公共流中的数据消息。
getter/setter pair
onPublicStreamSEIMessageReceived OnPublicStreamDataMessageReceivedType?
回调公共流中包含的 SEI 信息
getter/setter pair
onPublicStreamSEIMessageReceivedWithChannel OnPublicStreamSEIMessageReceivedWithChannelType?
回调公共流中包含的 SEI 信息,包含了传输通道
getter/setter pair
onPushPublicStreamResult OnPushPublicStreamResultType?
公共流发布结果回调
getter/setter pair
onRecordingProgressUpdate OnRecordingProgressUpdateType?
调用 RTCVideo.startFileRecording 正常进行本地录制时,会周期性(1s)收到此回调。
getter/setter pair
onRecordingStateUpdate OnRecordingStateUpdateType?
调用 RTCVideo.startFileRecordingRTCVideo.stopFileRecording 时,收到此回调。
getter/setter pair
onRemoteAudioPropertiesReport OnRemoteAudioPropertiesReportType?
调用 RTCVideo.enableAudioPropertiesReport 后,会周期性收到此回调,获取远端音量信息
getter/setter pair
onRemoteVideoSizeChanged OnRemoteVideoSizeChangedType?
远端视频大小或旋转配置发生改变时,房间内订阅此视频流的用户会收到此回调
getter/setter pair
onRemoteVideoSuperResolutionModeChanged OnRemoteVideoSuperResolutionModeChangedType?
远端视频流的超分状态发生改变时,房间内订阅此流的用户会收到该回调。
getter/setter pair
onScreenVideoFramePlayStateChanged OnMediaFramePlayStateChangedType?
屏幕共享流视频首帧播放状态改变回调
getter/setter pair
onScreenVideoFrameSendStateChanged OnMediaFrameSendStateChangedType?
屏幕共享流视频首帧发送状态改变回调
getter/setter pair
onSEIMessageReceived OnSEIMessageReceivedType?
收到带有 SEI 消息的视频帧时,收到此回调
getter/setter pair
onSEIStreamUpdate OnSEIStreamUpdateType?
黑帧视频流发布状态回调
getter/setter pair
onServerMessageSendResult OnServerMessageSendResultType?
本回调为异步回调。当调用 RTCVideo.sendServerMessageRTCVideo.sendServerBinaryMessage 发送消息后,会收到此回调。
getter/setter pair
onServerParamsSetResult OnServerParamsSetResultType?
调用 RTCVideo.setServerParams 后,收到此回调。
getter/setter pair
onSimulcastSubscribeFallback OnSimulcastSubscribeFallbackType?
音视频流因网络环境变化等原因发生回退,或从回退中恢复时,触发该回调
getter/setter pair
onSocks5ProxyState OnSocks5ProxyStateType?
Socks5 代理状态改变时,收到该回调。
getter/setter pair
onStreamSyncInfoReceived OnStreamSyncInfoReceivedType?
收到远端用户调用 RTCVideo.sendStreamSyncInfo 发送的音频流同步消息后,收到此回调。
getter/setter pair
onSysStats OnSysStatsType?
周期性(2s)收到此回调,获取当前 CPU 与内存的使用率
getter/setter pair
onUserBinaryMessageReceivedOutsideRoom OnBinaryMessageReceivedType?
收到房间外用户调用 RTCVideo.sendUserBinaryMessageOutsideRoom 发来的二进制消息时,会收到此回调
getter/setter pair
onUserMessageReceivedOutsideRoom OnMessageReceivedType?
收到房间外用户调用 RTCVideo.sendUserMessageOutsideRoom 发来的文本消息时,会收到此回调
getter/setter pair
onUserMessageSendResultOutsideRoom OnMessageSendResultType?
当调用 RTCVideo.sendUserMessageOutsideRoom 给房间外指定用户发送消息时,会收到此回调
getter/setter pair
onUserStartAudioCapture OnUserOperateMediaCaptureType?
远端用户调用 RTCVideo.startAudioCapture 开启音频设备采集时,房间内其他人会收到这个回调
getter/setter pair
onUserStartVideoCapture OnUserOperateMediaCaptureType?
房间内的用户调用 RTCVideo.startVideoCapture 开启视频采集时,房间内其他用户会收到此回调
getter/setter pair
onUserStopAudioCapture OnUserOperateMediaCaptureType?
房间内的用户调用 RTCVideo.stopAudioCapture 关闭音频采集时,房间内其他用户会收到此回调
getter/setter pair
onUserStopVideoCapture OnUserOperateMediaCaptureType?
房间内的用户调用 RTCVideo.stopVideoCapture 关闭视频采集时,房间内其他用户会收到此回调
getter/setter pair
onVideoDenoiseModeChanged OnVideoDenoiseModeChangedType?
降噪模式状态变更回调。当降噪模式的运行状态发生改变,SDK 会触发该回调,提示用户降噪模式改变后的运行状态及状态发生改变的原因。
getter/setter pair
onVideoDeviceStateChanged OnVideoDeviceStateChangedType?
视频设备状态回调
getter/setter pair
onVideoDeviceWarning OnVideoDeviceWarningType?
视频设备警告回调
getter/setter pair
onVideoFramePlayStateChanged OnMediaFramePlayStateChangedType?
视频首帧播放状态改变回调
getter/setter pair
onVideoFrameSendStateChanged OnMediaFrameSendStateChangedType?
视频首帧发送状态改变回调
getter/setter pair
onWarning OnWarningType?
发生警告回调
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