DescribeLiveStreamPushInfoList

Last updated: 2020-08-20 18:02:08

1. API Description

Domain name for API request: live.tencentcloudapi.com.

This API is used to query the push information of all real-time streams, including client IP, server IP, frame rate, bitrate, domain name, and push start time.

A maximum of 500 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common parameter. The value used for this API: DescribeLiveStreamPushInfoList.
Version Yes String Common parameter. The value used for this API: 2018-08-01.
Region No String Common parameter. This parameter is not required for this API.
PushDomain No String Push domain name.
AppName No String Push path, which is the same as the AppName in push and playback addresses and is live by default.
PageNum No Integer Number of pages,
Value range: [1,10000],
Default value: 1.
PageSize No Integer Number of entries per page,
Value range: [1,1000],
Default value: 200.

3. Output Parameters

Parameter Name Type Description
DataInfoList Array of PushDataInfo Live stream statistics list.
TotalNum Integer Total number of live streams.
TotalPage Integer Total number of pages.
PageNum Integer Page number where the current data resides.
PageSize Integer Number of live streams per page.
RequestId String The unique request ID, which is returned for each request. RequestId is required for locating a problem.

4. Example

Example1 Sample request

Input Example

https://live.tencentcloudapi.com/?Action=DescribeLiveStreamPushInfoList
&PushDomain=5000.pushdomain.com
&AppName=live
&PageNum=1
&PageSize=1000
&<Common request parameters>

Output Example

{
  "Response": {
    "DataInfoList": [
      {
        "StreamName": "test1",
        "AppName": "live",
        "ClientIp": "127.0.0.1",
        "ServerIp": "127.0.0.1",
        "VideoFps": 100,
        "VideoSpeed": 100,
        "AudioFps": 40,
        "AudioSpeed": 40,
        "AsampleRate": 48000,
        "PushDomain": "5000.pushdomain.com",
        "BeginPushTime": "2019-02-01 00:00:00",
        "Acodec": "AAC",
        "Vcodec": "H264",
        "Resolution": "350*350",
        "MetaAudioSpeed": 22,
        "MetaFps": 30,
        "MetaVideoSpeed": 4885
      }
    ],
    "PageNum": 1,
    "PageSize": 1000,
    "TotalNum": 1,
    "TotalPage": 1,
    "RequestId": "8e50cdb5-56dc-408b-89b0-31818958d424"
  }
}

5. Developer Resources

API Explorer

This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation.HasNotLivingStream No live stream.
InternalError Internal error.
InternalError.InvalidRequest Invalid request.
InternalError.QueryProIspPlayInfoError Failed to query the playback information by ISP and district.
InternalError.QueryUploadInfoFailed Failed to query the upload information.
InvalidParameterValue Wrong parameter value.
MissingParameter Missing parameter.

Was this page helpful?

Was this page helpful?

  • Not at all
  • Not very helpful
  • Somewhat helpful
  • Very helpful
  • Extremely helpful
Send Feedback
Help