V2TXLivePusherImpl class

Inheritance

Constructors

V2TXLivePusherImpl.new(V2TXLiveMode liveMode)

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

Operators

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

Static Methods

create(V2TXLiveMode liveMode) Future<V2TXLivePusherImpl>
Create an instance
override