V2TXLivePusher class
Live stream pusher
Constructors
- V2TXLivePusher(V2TXLiveMode liveMode)
Properties
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) → Future< V2TXLiveCode> - Enable/disable custom video processing
-
enableVolumeEvaluation(
int intervalMs) → Future< V2TXLiveCode> - Enables the capture volume prompt
-
getAudioEffectManager(
) → TXAudioEffectManager - Get the sound management object TXAudioEffectManager, you can set the background music, short sound effects and life effects.
-
getBeautyManager(
) → TXBeautyManager - Get a beauty management object TXBeautyManager, you can modify the beauty, filter, redness and other parameters
-
getDeviceManager(
) → TXDeviceManager - Get a device management object TXDeviceManager, you can modify the beauty, filter, redness and other parameters
-
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
-
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
-
setWatermark(
String type, String image, double x, double y, double scale) → Future< V2TXLiveCode> - Set the watermark of the streamer. By default, watermarks are not turned on.
-
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
-
startVirtualCamera(
String type, String imageUrl) → Future< V2TXLiveCode> - Enable image ingestion
-
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
-
stopVirtualCamera(
) → Future< V2TXLiveCode> - Disable image ingestion
-
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