Last updated: 2021-01-07 19:39:21

1. API Description

Domain name for API request:

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.

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 point in the format of yyyy-mm-dd HH:MM:SS. The maximum time span is 6 hours. Data for the last 6 days can be queried.
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": [
        "ACodec": "AAC",
        "AppName": "live",
        "AudioFps": 43,
        "AudioRate": 131580,
        "AudioTs": 5004,
        "BeginPushTime": "2019-06-21 00:29:12.252",
        "ClientIp": "",
        "LocalTs": 5000,
        "PushDomain": "",
        "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.