V2TXLivePusherListenerType enum

腾讯云直播推流的回调通知。
V2TXLivePusher 的一些回调事件,包括推流器状态,推流音量,统计信息,警告以及错误信息。

Inheritance

Constructors

V2TXLivePusherListenerType()
const

Values

onError → const V2TXLivePusherListenerType

错误回调,表示 SDK 不可恢复的错误,一定要监听并分情况给用户适当的界面提示

onWarning → const V2TXLivePusherListenerType

警告回调,用于告知您一些非严重性问题,例如出现卡顿或者可恢复的解码失败。

onCaptureFirstAudioFrame → const V2TXLivePusherListenerType

首帧音频采集完成的回调通知

onCaptureFirstVideoFrame → const V2TXLivePusherListenerType

首帧视频采集完成的回调通知

onMicrophoneVolumeUpdate → const V2TXLivePusherListenerType

麦克风采集音量值回调

onPushStatusUpdate → const V2TXLivePusherListenerType

推流器连接状态回调通知

onStatisticsUpdate → const V2TXLivePusherListenerType

直播推流器统计数据回调

onSnapshotComplete → const V2TXLivePusherListenerType

截图回调

onProcessVideoFrame → const V2TXLivePusherListenerType

自定义视频处理回调

onGLContextDestroyed → const V2TXLivePusherListenerType

SDK 内部的 OpenGL 环境的销毁通知

onSetMixTranscodingConfig → const V2TXLivePusherListenerType

设置云端的混流转码参数的回调

onScreenCaptureStarted → const V2TXLivePusherListenerType

当屏幕分享开始时,SDK 会通过此回调通知

onScreenCaptureStopped → const V2TXLivePusherListenerType

当屏幕分享停止时,SDK 会通过此回调通知

onMusicObserverStart → const V2TXLivePusherListenerType

音频开始播放

onMusicObserverPlayProgress → const V2TXLivePusherListenerType

音频播放中

onMusicObserverComplete → const V2TXLivePusherListenerType

音频播放结束

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

values → const List<V2TXLivePusherListenerType>
A constant List of the values in this enum, in order of their declaration.