Domain name for API request: trtc.tencentcloudapi.com.
Query TRTC Monitoring Dashboard - Real-Time Monitoring Quality Metrics (return the following metrics)
-Video stutter rate
-Audio stutter rate
Note:
A maximum of 20 requests can be initiated per second for this API.
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 Params. The value used for this API: DescribeTRTCRealTimeQualityData. |
Version | Yes | String | Common Params. The value used for this API: 2019-07-22. |
Region | No | String | Common Params. This parameter is not required for this API. |
SdkAppId | Yes | String | User SDKAppId (e.g., 1400xxxxxx) |
StartTime | Yes | Integer | Start time, unix timestamp, Unit: seconds (Query time range depends on the monitoring dashboard function version, standard edition can query the last 3 hours, premium edition can query the last 12 hours) |
EndTime | Yes | Integer | End time, unix timestamp, Unit: seconds |
RoomId | No | String | Room ID |
Parameter Name | Type | Description |
---|---|---|
Data | TRTCDataResult | TRTC Real- Time Monitoring output parameters |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Query TRTC real-time monitoring quality data
POST / HTTP/1.1
Host: trtc.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeTRTCRealTimeQualityData
<Public request parameters>
{
"StartTime": 1695711343,
"EndTime": 1695711643,
"SdkAppId": "1400xxxxxx"
}
{
"Response": {
"Data": {
"StatementID": 0,
"Series": [
{
"Columns": [
"time",
"videoFreezeRate",
"audioFreezeRate"
],
"Values": [
{
"RowValue": [
1695711350,
0,
0
]
},
{
"RowValue": [
1695711360,
0,
0
]
},
{
"RowValue": [
1695711370,
0,
0
]
},
{
"RowValue": [
1695711380,
0,
0
]
},
{
"RowValue": [
1695711390,
0,
0
]
},
{
"RowValue": [
1695711400,
0,
0
]
},
{
"RowValue": [
1695711410,
0,
0
]
},
{
"RowValue": [
1695711420,
0,
0
]
},
{
"RowValue": [
1695711430,
0,
0
]
},
{
"RowValue": [
1695711440,
0,
0
]
},
{
"RowValue": [
1695711450,
0,
0
]
},
{
"RowValue": [
1695711460,
0,
0
]
},
{
"RowValue": [
1695711470,
0,
0
]
},
{
"RowValue": [
1695711480,
0,
0
]
},
{
"RowValue": [
1695711490,
0,
4
]
},
{
"RowValue": [
1695711500,
0,
0
]
},
{
"RowValue": [
1695711510,
0,
0
]
},
{
"RowValue": [
1695711520,
0,
0
]
},
{
"RowValue": [
1695711530,
0,
0
]
},
{
"RowValue": [
1695711540,
0,
0
]
},
{
"RowValue": [
1695711550,
0,
0
]
},
{
"RowValue": [
1695711560,
0,
0
]
},
{
"RowValue": [
1695711570,
0,
0
]
},
{
"RowValue": [
1695711580,
0,
0
]
},
{
"RowValue": [
1695711590,
0,
0
]
},
{
"RowValue": [
1695711600,
0,
0
]
},
{
"RowValue": [
1695711610,
0,
0
]
},
{
"RowValue": [
1695711620,
0,
0
]
},
{
"RowValue": [
1695711630,
0,
0
]
},
{
"RowValue": [
1695711640,
0,
0
]
}
]
}
],
"Total": 1
},
"RequestId": "75fegcba14mffq3wl2zz578ml3e-i1a3"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Was this page helpful?