TXLivePlayer
Video player
For more information, see TXLivePlayer.
TXLivePlayer decodes the audio and video data in live streams and performs local rendering. It provides the following capabilities:
- For Tencent Cloud's playback addresses, use low-delay playback to implement live streaming mic connect.
- For Tencent Cloud's playback addresses, use live streaming time shifting to implement seamless switching between live viewing and time-shifting viewing.
- Custom audio and video data processing allows you to process the audio and video data in live streams based on project requirements and then render and playback them.
Basic SDK APIs
Basic playback APIs
Playback configuration APIs
Local recording and screenshot APIs
Custom data processing APIs
Live streaming time shifting APIs
API |
Description |
prepareLiveSeek |
Prepares for live streaming time shifting. |
seek |
Seeks to the live stream playback time. |
resumeLive |
Resumes live streaming. |
Screenshot callback APIs
For more information, see ITXSnapshotListener.
Video data callback APIs for software decoding
For more information, see ITXVideoRawDataListener.
Raw audio data callback APIs
For more information, see ITXAudioRawDataListener.
Player volume callback APIs
For more information, see ITXAudioVolumeEvaluationListener.
TXLivePlayConfig
TXLivePlayer parameter configuration module
For more information, see TXLivePlayConfig.
It is used to set TXLivePlayer parameters, most of which cannot take effect if they are set after playback starts.
Common APIs
Dedicated APIs
ITXLivePlayListener
TXLivePlayer callback notifications
For more information, see ITXLivePlayListener.
Was this page helpful?