ListenerTypeEnum enum
监听器类型枚举
Constructors
- ListenerTypeEnum()
-
const
Values
- SdkError → const ListenerTypeEnum
-
SDK加载错误
- Warning → const ListenerTypeEnum
-
警告,例如出现卡顿或者可恢复的解码失败。
- EnterRoom → const ListenerTypeEnum
-
加入房间
- ExitRoom → const ListenerTypeEnum
-
退出房间
- SwitchRole → const ListenerTypeEnum
-
切换角色
- ConnectOtherRoom → const ListenerTypeEnum
-
请求跨房通话(主播 PK)的结果回调。
- DisConnectOtherRoom → const ListenerTypeEnum
-
结束跨房通话(主播 PK)的结果回调。
- RemoteUserEnterRoom → const ListenerTypeEnum
-
有用户加入当前房间。
- RemoteUserLeaveRoom → const ListenerTypeEnum
-
有用户离开当前房间。
- UserVideoAvailable → const ListenerTypeEnum
-
用户是否上行视频数据
- UserSubStreamAvailable → const ListenerTypeEnum
-
用户是否上行屏幕数据
- UserAudioAvailable → const ListenerTypeEnum
-
用户是否上行音频数据
- FirstVideoFrame → const ListenerTypeEnum
-
开始渲染本地或远程用户的首帧画面。
- FirstAudioFrame → const ListenerTypeEnum
-
开始播放远程用户的首帧音频(本地声音暂不通知)。
- SendFirstLocalAudioFrame → const ListenerTypeEnum
-
首帧本地音频数据已经被送出。
- SendFirstLocalVideoFrame → const ListenerTypeEnum
-
首帧本地视频数据已经被送出。
- NetworkQuality → const ListenerTypeEnum
-
网络质量:该回调每2秒触发一次,统计当前网络的上行和下行质量。
- Statistics → const ListenerTypeEnum
-
技术指标统计回调:。
- ConnectionLost → const ListenerTypeEnum
-
跟服务器断开
- TryToReconnect → const ListenerTypeEnum
-
SDK 尝试重新连接到服务器。
- ConnectionRecovery → const ListenerTypeEnum
-
SDK 跟服务器的连接恢复。
- SpeedTest → const ListenerTypeEnum
-
服务器测速的回调,SDK 对多个服务器 IP 做测速,每个 IP 的测速结果通过这个回调通知。
- CameraDidReady → const ListenerTypeEnum
-
摄像头准备就绪。
- MicDidReady → const ListenerTypeEnum
-
麦克风准备就绪
- AudioRouteChanged → const ListenerTypeEnum
-
音频路由发生变化,音频路由即声音由哪里输出(扬声器、听筒)。
- UserVoiceVolume → const ListenerTypeEnum
-
用于提示音量大小的回调,包括每个 userId 的音量和远端总音量。
- RecvCustomCmdMsg → const ListenerTypeEnum
-
收到自定义消息
- MissCustomCmdMsg → const ListenerTypeEnum
-
自定义消息丢失
- RecvSEIMsg → const ListenerTypeEnum
-
收到SEI消息
- StartPublishing → const ListenerTypeEnum
-
开始向腾讯云的直播 CDN 推流的回调
- StopPublishing → const ListenerTypeEnum
-
停止向腾讯云的直播 CDN 推流的回调
- StartPublishCDNStream → const ListenerTypeEnum
-
启动旁路推流到 CDN 完成的回调。
- StopPublishCDNStream → const ListenerTypeEnum
-
停止旁路推流到 CDN 完成的回调。
- SetMixTranscodingConfig → const ListenerTypeEnum
-
设置云端的混流转码参数的回调,对应于 TRTCCloud 中的 setMixTranscodingConfig() 接口。
- AudioEffectFinished → const ListenerTypeEnum
-
播放音效结束回调。
- ScreenCaptureStarted → const ListenerTypeEnum
-
屏幕分享开始回调
- ScreenCapturePaused → const ListenerTypeEnum
-
屏幕分享暂停回调
- ScreenCaptureResumed → const ListenerTypeEnum
-
屏幕分享恢复回调
- ScreenCaptureStopped → const ListenerTypeEnum
-
屏幕分享停止回调
- CapturedRawAudioFrame → const ListenerTypeEnum
-
本地麦克风采集到的音频数据回调
- LocalProcessedAudioFrame → const ListenerTypeEnum
-
本地采集并经过音频模块前处理后的音频数据回调
- RemoteUserAudioFrame → const ListenerTypeEnum
-
混音前的每一路远程用户的音频数据,即混音前的各路原始数据。例如,对某一路音频进行文字转换时,您必须使用该路音频的原始数据
- MixedPlayAudioFrame → const ListenerTypeEnum
-
各路音频数据混合后送入喇叭播放的音频数据
- Log → const ListenerTypeEnum
-
日志
Properties
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
Constants
-
values
→ const List<
ListenerTypeEnum> - A constant List of the values in this enum, in order of their declaration.