API | Description |
Sets the playback callback. For more information, see the detailed definition in the TXLivePlayListener.h file. | |
Sets the video processing callback. For more information, see the detailed definition in the TXVideoCustomProcessDelegate.h file. | |
Sets the audio processing callback. For more information, see the detailed definition in the TXAudioRawDataDelegate.h file. | |
Sets whether to enable hardware acceleration. Default value: NO. | |
Sets TXLivePlayConfig playback configuration items. For more information, see the detailed definition in the TXLivePlayConfig.h file. | |
Sets the short video recording callback. For more information, see the detailed definition in the TXLiveRecordListener.h file. | |
Sets whether to start playback immediately after call of startPlay . This API takes effect only for VOD. Default value: YES. |
API | Description |
Creates the video rendering view. This control is used to display the video content. | |
Removes the video rendering widget. | |
Plays back the RTMP audio/video stream at the specified URL. | |
Stops the audio/video stream. | |
Gets whether playback is ongoing. | |
Pauses playback. | |
Resumes playback. This API can be used for VOD and live streaming. |
API | Description |
Sets the orientation of the video image. | |
Sets the image cropping mode. | |
Takes a screenshot. |
API | Description |
Mutes/Unmutes the player. | |
Sets the volume level. | |
Sets the audio playback mode (speaker or receiver). | |
Sets the volume level callback. |
API | Description |
Prepares for live streaming time shifting and pulls the playback start time of the live stream. | |
Resumes live playback from time-shifting playback. | |
- |
API | Description |
Starts short video recording. | |
Stops short video recording. | |
Sets the playback speed. |
API | Description |
Sets the margin between the rendering view and the status floating view. | |
Sets whether to display the playback status statistics and event message floating view. | |
Switches FLV live streams smoothly. | |
Calls an experimental API. |
Enumerated Value | Description |
Supported live streaming and VOD types. |
API | Description |
Live streaming event notification. | |
Network status notification. |
Was this page helpful?