V2TXLivePlayerListenerType enum
腾讯云直播的播放器回调通知。
可以接收 V2TXLivePlayer 播放器的一些回调通知,包括播放器状态、播放音量回调、音视频首帧回调、统计数据、警告和错误信息等。
Constructors
- V2TXLivePlayerListenerType()
-
const
Values
- onError → const V2TXLivePlayerListenerType
-
错误回调,表示 SDK 不可恢复的错误,一定要监听并分情况给用户适当的界面提示
- onWarning → const V2TXLivePlayerListenerType
-
警告回调,用于告知您一些非严重性问题,例如出现卡顿或者可恢复的解码失败。
- onVideoResolutionChanged → const V2TXLivePlayerListenerType
-
直播播放器分辨率变化通知
- onConnected → const V2TXLivePlayerListenerType
-
已经成功连接到服务器
- onVideoPlaying → const V2TXLivePlayerListenerType
-
视频播放事件
- onAudioPlaying → const V2TXLivePlayerListenerType
-
音频播放事件
- onVideoLoading → const V2TXLivePlayerListenerType
-
视频加载事件
- onAudioLoading → const V2TXLivePlayerListenerType
-
音频加载事件
- onPlayoutVolumeUpdate → const V2TXLivePlayerListenerType
-
播放器音量大小
- onStatisticsUpdate → const V2TXLivePlayerListenerType
-
直播播放器统计数据回调
- onSnapshotComplete → const V2TXLivePlayerListenerType
-
截图回调
- onRenderVideoFrame → const V2TXLivePlayerListenerType
-
自定义视频渲染回调
- onReceiveSeiMessage → const V2TXLivePlayerListenerType
-
收到 SEI 消息的回调
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<
V2TXLivePlayerListenerType> - A constant List of the values in this enum, in order of their declaration.