V2TXLivePusherListenerType enum Null safety

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

Inheritance

Constructors

V2TXLivePusherListenerType()
const

Values

onError → const V2TXLivePusherListenerType

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

const V2TXLivePusherListenerType(0)
onWarning → const V2TXLivePusherListenerType

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

const V2TXLivePusherListenerType(1)
onCaptureFirstAudioFrame → const V2TXLivePusherListenerType

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

const V2TXLivePusherListenerType(2)
onCaptureFirstVideoFrame → const V2TXLivePusherListenerType

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

const V2TXLivePusherListenerType(3)
onMicrophoneVolumeUpdate → const V2TXLivePusherListenerType

麦克风采集音量值回调

const V2TXLivePusherListenerType(4)
onPushStatusUpdate → const V2TXLivePusherListenerType

推流器连接状态回调通知

const V2TXLivePusherListenerType(5)
onStatisticsUpdate → const V2TXLivePusherListenerType

直播推流器统计数据回调

const V2TXLivePusherListenerType(6)
onSnapshotComplete → const V2TXLivePusherListenerType

截图回调

const V2TXLivePusherListenerType(7)
onProcessVideoFrame → const V2TXLivePusherListenerType

自定义视频处理回调

const V2TXLivePusherListenerType(8)
onGLContextDestroyed → const V2TXLivePusherListenerType

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

const V2TXLivePusherListenerType(9)
onSetMixTranscodingConfig → const V2TXLivePusherListenerType

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

const V2TXLivePusherListenerType(10)
onScreenCaptureStarted → const V2TXLivePusherListenerType

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

const V2TXLivePusherListenerType(11)
onScreenCaptureStopped → const V2TXLivePusherListenerType

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

const V2TXLivePusherListenerType(12)
onMusicObserverStart → const V2TXLivePusherListenerType

音频开始播放

const V2TXLivePusherListenerType(13)
onMusicObserverPlayProgress → const V2TXLivePusherListenerType

音频播放中

const V2TXLivePusherListenerType(14)
onMusicObserverComplete → const V2TXLivePusherListenerType

音频播放结束

const V2TXLivePusherListenerType(15)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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.
[onError, onWarning, onCaptureFirstAudioFrame, onCaptureFirstVideoFrame, onMicrophoneVolumeUpdate, onPushStatusUpdate, onStatisticsUpdate, onSnapshotComplete, onProcessVideoFrame, onGLContextDestroyed…