tencent cloud



最后更新时间:2022-01-19 14:59:19

1. API Description

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

This API is used to query the upstream push quality data by stream ID, including frame rate, bitrate, elapsed time, and codec of audio and video files.

A maximum of 40 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.
This document describes the parameters for Signature V1. It's recommended to use the V3 signature, which provides higher security. Note that for Signature V3, the common parameters need to be placed in the HTTP Header. See details.

Parameter Name Required Type Description
Action Yes String Common parameter. The value used for this API: DescribeStreamPushInfoList.
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.
StreamName Yes String Stream name.
StartTime Yes String Start time point in the format of yyyy-mm-dd HH:MM:SS.
EndTime Yes String End time in the format of yyyy-mm-dd HH:MM:SS. You can query data in the past 7 days. You’re advised to set the query period to up to 3 hours.
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.

3. Output Parameters

Parameter Name Type Description
DataInfoList Array of PushQualityData Returned data list.
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

&StartTime=2019-06-21 12:00:00
&EndTime=2019-06-21 12:01:02
&<Common request parameters>

Output Example

  "Response": {
    "DataInfoList": [
        "StreamParam": "xx",
        "ACodec": "AAC",
        "AppName": "live",
        "AudioFps": 43,
        "AudioRate": 131580,
        "AudioTs": 5004,
        "BeginPushTime": "2019-06-21 00:29:12.252",
        "ClientIp": "",
        "LocalTs": 5000,
        "PushDomain": "123.livepush.myqcloud.com",
        "Resolution": "368*640",
        "Sequence": "10151483429474411508",
        "Time": "2019-06-21 01:10:39.87",
        "VCodec": "H264",
        "VideoFps": 24,
        "VideoRate": 701528,
        "VideoTs": 5032,
        "MateFps": 30,
        "MetaAudioRate": 22,
        "MetaVideoRate": 4885
    "RequestId": "8e50cdb5-56dc-408b-89b0-31818958d424"

5. Developer Resources


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 Operation failed.
InvalidParameterValue Invalid parameter value.
MissingParameter Parameter missing.




7x24 电话支持