API | Description |
Sets player callbacks. |
API | Description |
Sets the player’s rendering view ( ViewID ). | |
Since v10.7, startPlay has been replaced by startLivePlay , and you need to call V2TXLivePremier#setLicence to set the license to use the live playback feature (you only need to set the license once). Otherwise, playback will fail (black screen). You can use a live stream publishing license, UGSV license, or video playback license to activate the live playback feature. If you don’t have any of the licenses, you can buy one or apply for a trial license for free to use the feature. | |
Stops playback. | |
Gets whether playback is ongoing. |
API | Description |
Sets video rotation. | |
Sets the fill mode. | |
Pauses the player’s video. | |
Resumes the player’s video. | |
Takes a screenshot of the played video. |
API | Description |
Pauses the player’s audio. | |
Resumes the player’s audio. | |
Sets the volume. | |
Enables the volume reminder for playback. |
API | Description |
Sets the minimum and maximum cache time (seconds) for auto adjustment by the player. | |
Sets whether to show the debug view of player status information. |
API | Description |
Callback for error. This callback is returned when the player encounters an error. | |
Callback for warning | |
Callback for successfully connecting to the server |
API | Description |
Callback for video playback | |
Callback for loading video | |
Callback for change of player resolution | |
Callback for a screenshot taken | |
Callback for custom video rendering |
API | Description |
Callback for audio playback | |
Callback for loading audio | |
Callback of the player’s volume |
API | Description |
Callback of player statistics |
V2TXLivePusher
encodes local audio/video and publishes the encoded data to a specified URL. It supports any publishing server.
It has the following capabilities:V2TXLivePusher
integrates multiple retouching algorithms (natural & smooth) and color space filters (custom filters are supported).V2TXLivePusher
can adapt automatically to different upstream network conditions by controlling audio/video traffic in real time based on the network conditions of hosts.V2TXLivePusher
supports animated widgets and fine-tuning of facial features, such as eye enlarging, face slimming, and nose reshaping. You need to purchase a YouTu license to use these live streaming effects.API | Description |
Sets publisher callbacks. |
API | Description |
Sets the rendering view for local camera preview. | |
Starts publishing audio/video data. | |
Stops publishing audio/video data. | |
Gets whether publishing is ongoing. |
API | Description |
Sets video encoding parameters for publishing. | |
Sets video rotation for local camera preview. | |
Sets the mirror mode for local camera preview. | |
Turns the local camera on. | |
Turns the local camera off. | |
Starts image publishing. | |
Stops image publishing. | |
Starts screen capturing. | |
Stops screen capturing. | |
Takes a screenshot of the published video. | |
Sets watermarks for the publisher. Watermarking is disabled by default. | |
Sets the mirror mode for encoded video. | |
Enables/Disables custom video capturing. | |
Sends the captured video data to the SDK in the custom video capturing mode. | |
Enables/Disables custom video processing. | |
Sends an SEI message. |
API | Description |
Gets the beauty filter management object TXBeautyManager , which is used to set beauty filters. |
API | Description |
Turns the mic on. | |
Turns the mic off. | |
Sets the quality of published audio. | |
Enables the volume reminder for capturing. |
API | Description |
Gets the audio effect management object. |
API | Description |
Gets the device management object. |
API | Description |
Calls an advanced API of V2TXLivePusher . | |
Sets On-Cloud MixTranscoding parameters. | |
Sets whether to display the dashboard. |
API | Description |
Callback of the publisher’s connection status | |
Callback for a screenshot taken | |
Callback for custom video processing | |
Callback for destroying the OpenGL context in the SDK | |
Callback for capturing the first video frame |
API | Description |
Callback for capturing the first audio frame | |
Callback of mic capturing volume |
API | Description |
Callback for setting On-Cloud MixTranscoding parameters |
API | Description |
Callback of publisher statistics |
Was this page helpful?