V2TXLivePusher class abstract

Live stream pusher

Implementers

Constructors

V2TXLivePusher.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(V2TXLivePusherObserver observer) → void
Add a pusher callback
destroy() → void
Destroy the instance
enableCustomAudioCapture(bool enable) Future<V2TXLiveCode>
Turn on/off custom audio capture
enableCustomVideoCapture(bool enable) Future<V2TXLiveCode>
Turn on/off custom video capture
enableCustomVideoProcess(bool enable, V2TXLivePixelFormat pixelFormat, V2TXLiveBufferType bufferType) Future<V2TXLiveCode>
Enable/disable custom video processing
enableVolumeEvaluation(int intervalMs) Future<V2TXLiveCode>
Enables the capture volume prompt
getAudioEffectManager() TXAudioEffectManager
Get sound effect management class (TXAudioEffectManager)
getDeviceManager() TXDeviceManager
Get device management class (TXDeviceManager)
isPushing() Future<V2TXLiveCode>
Whether the stream ingest is pushing
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pauseAudio() Future<V2TXLiveCode>
Pause the audio stream
pauseVideo() Future<V2TXLiveCode>
Pause the video stream
removeListener(V2TXLivePusherObserver observer) → void
Remove a pusher callback
resumeAudio() Future<V2TXLiveCode>
Resume the audio stream
resumeVideo() Future<V2TXLiveCode>
Resume the video stream
sendCustomAudioFrame(V2TXLiveAudioFrame audioFrame) Future<V2TXLiveCode>
In the custom audio collection mode, the collected audio data is sent to the SDK
sendCustomVideoFrame(V2TXLiveVideoFrame videoFrame) Future<V2TXLiveCode>
In the custom video capture mode, the collected video data is sent to the SDK
sendSeiMessage(int payloadType, Uint8List data) Future<V2TXLiveCode>
Send an SEI message
setAudioQuality(V2TXLiveAudioQuality quality) Future<V2TXLiveCode>
Set the ingest audio quality
setEncoderMirror(bool mirror) Future<V2TXLiveCode>
Set the video encoding image
setMixTranscodingConfig(V2TXLiveTranscodingConfig? config) Future<V2TXLiveCode>
Set the parameters for MixTranscoding in the cloud
setProperty(String key, Object value) Future<V2TXLiveCode>
Call the high-level API interface of V2TXLivePusher
setRenderFillMode(V2TXLiveFillMode mode) Future<V2TXLiveCode>
Set the fill mode of the picture
setRenderMirror(V2TXLiveMirrorType mirrorType) Future<V2TXLiveCode>
Set the camera mirror type
setRenderRotation(V2TXLiveRotation rotation) Future<V2TXLiveCode>
Set the rotation angle of the local camera preview screen
setRenderViewID(int viewID) Future<V2TXLiveCode>
Set the ID of the local camera preview
setVideoQuality(V2TXLiveVideoEncoderParam param) Future<V2TXLiveCode>
Set the encoding parameters for streaming video
showDebugView(bool isShow) Future<V2TXLiveCode>
Display the dashboard
snapshot() Future<V2TXLiveCode>
Capture the local image during stream ingest
startCamera(bool frontCamera) Future<V2TXLiveCode>
Turn on your local camera
startMicrophone() Future<V2TXLiveCode>
Turn on the microphone
startPush(String url) Future<V2TXLiveCode>
Starts ingesting audio and video data
startScreenCapture(String appGroup) Future<V2TXLiveCode>
Turn on screen capture
stopCamera() Future<void>
Turn off your local camera
stopMicrophone() Future<V2TXLiveCode>
Turn off the microphone
stopPush() Future<V2TXLiveCode>
Stop pushing audio and video data
stopScreenCapture() Future<V2TXLiveCode>
Turn off screen capture
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

create(V2TXLiveMode liveMode) Future<V2TXLivePusher>
Create an instance