API overview

Last updated: 2019-07-30 16:16:16

Tencent Cloud provides a set of LVB Code management APIs for your backend server, delivering status query, status management and other features.

APIs

API Feature Description
Get_LiveStat Statistics query - queries the push and playback information
Get_LivePushStat Statistics query - queries the push information
Get_LivePlayStat Statistics query - queries the playback information
Get_LivePushStatHistory Obtains the historical statistics of push
Get_LivePlayStatHistory Obtains the historical statistics of playback
Live_Channel_GetStatus Queries only the status information of a stream (old version API)
Live_Channel_SetStatus Bans an LVB stream. It is mainly used for porn detection.
Live_Tape_GetFilelist Queries the list of videos recorded during LVB for a certain stream
Live_Queue_Get Queries the list of screenshots captured during LVB for a certain stream
Live_Channel_GetChannelList Queries the channel list
Live_Channel_GetLiveChannelList Queries the channel list in LVB
mix_streamv2.start_mix_stream_advanced API for stream mixing on the cloud
channel_manager Stops pushing stream and delays the availability of API. It can disable push for a specified stream.
Live_Tape_Start Creates a recording task. It supports scheduled recording and real-time recording.
Live_Tape_Stop Ends a recording task

Error codes

  1. HTTP error codes
Error Code Description Note
403 Forbidden Verification is enabled for the API to ensure security. If this error occurs when you perform verification via a browser, you can check whether skey is contained in cookie.
404 Not Found Check whether the request comes with host
  1. Returned error codes
Error Code Description Note
appid is invalid Invalid appid, which indicates the feature is not activated

Note:
The above error codes apply to the APIs listed in this document and do not include Event Message Notification.