DescribeLiveCenterStreamRateData
Queries the audio and video frame rates and bitrates of a stream in the live center.
Operation description
Returns data points at a time granularity of 5 seconds. A single query cannot exceed a time range of 3 hours. You can query data generated within the last 30 days.
QPS limit
The queries per second (QPS) limit per user is 50. If the limit is exceeded, API calls are throttled, which may affect your services. Call the API operation at a reasonable frequency.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveCenterStreamRateData |
none |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppName |
string |
Yes |
The name of the application to which the stream belongs. You can view the AppName on the Stream Management page. |
liveApp**** |
| DomainName |
string |
Yes |
The ingest domain. |
demo.aliyundoc.com |
| StreamName |
string |
Yes |
The name of the stream. You can view the StreamName on the Stream Management page. |
liveStream**** |
| StartTime |
string |
Yes |
The start time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). |
2024-03-05T18:00:53Z |
| EndTime |
string |
Yes |
The end time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). |
2024-03-05T18:01:03Z |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RateDatas |
array<object> |
The list of frame rates and bitrates. |
|
|
object |
|||
| AudioFps |
string |
The audio frame rate. |
47 |
| AudioRate |
string |
The audio bitrate. |
600 |
| Time |
string |
The statistical time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC). |
2024-03-05T18:00:53Z |
| VideoFps |
string |
The video frame rate. |
30 |
| VideoRate |
string |
The video bitrate. |
1953584 |
| RequestId |
string |
The request ID. |
B6E125BE-E9B8-1103-8684-A35******* |
Examples
Success response
JSON format
{
"RateDatas": [
{
"AudioFps": "47",
"AudioRate": "600",
"Time": "2024-03-05T18:00:53Z",
"VideoFps": "30",
"VideoRate": "1953584"
}
],
"RequestId": "B6E125BE-E9B8-1103-8684-A35*******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Meter.ParamError | Param Error:%s,Please Check Again. | An error message was returned. |
| 500 | Meter.ServerInternalError | The Request Processing Has Failed Due To Some Unknown Error. | An internal service error occurred. |
| 500 | Meter.DataSourceQueryError | Data Source Error:%s,Please Try Again. | A data query error occurred. |
| 403 | Meter.AuthError | Authentication Failed,Please Try Again. | Authentication failed. |
| 502 | Meter.ReadyTsError | Get ReadyTs Failed,Please Try Again. | The queried data is not ready yet. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.