Queries the list of created monitoring sessions.
Operation description
First, create a monitoring session. You can then call this operation to query the list of monitoring sessions. When you call this operation, ensure that the required parameters are configured.
QPS limit
This operation is limited to 15 queries per second (QPS) for each user. API calls that exceed this limit are throttled. This may affect your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:DescribeLiveStreamMonitorList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| MonitorId |
string |
No |
The ID of the monitoring session. Note
Obtain the MonitorId value from the response parameters of the CreateLiveStreamMonitor operation. If you leave this parameter empty, the data of all monitoring sessions is returned. |
445409ec-7eaa-461d-8f29-4bec2eb9**** |
| PageNum |
integer |
No |
The page number. |
2 |
| PageSize |
integer |
No |
The number of monitoring sessions to return on each page. |
10 |
| Status |
integer |
No |
The status of the monitoring session. Valid values:
|
1 |
| OrderRule |
integer |
No |
The order in which to sort the monitoring sessions. Valid values:
|
1 |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Total |
integer |
The total number of monitoring sessions. |
1 |
| RequestId |
string |
The request ID. |
2234baba-a586-46ea-8bd4-c8f7891abcdef |
| LiveStreamMonitorList |
array<object> |
The list of monitoring sessions. |
|
|
object |
|||
| MonitorConfig |
string |
The settings for monitoring alert thresholds. The value is a JSON string that includes the following fields:
|
"{\"fpsLowThres\": 0.6,\"brLowThres\": 1.1,\"eofDurationThresSec\": 10}" |
| Status |
integer |
The status of the monitoring session. Valid values:
|
1 |
| MonitorId |
string |
The ID of the monitoring session. |
445409ec-7eaa-461d-8f29-4bec2eb9**** |
| Domain |
string |
The output domain name for monitoring. |
demo.aliyundoc.com |
| CallbackUrl |
string |
The webhook address for monitoring alert notifications. |
http://guide.aliyundoc.com/notify |
| AudioFrom |
integer |
The audio source in the layout. |
1 |
| DingTalkWebHookUrl |
string |
The URL of the DingTalk chatbot. |
https://oapi.dingtalk.com/robot/send?access_token=7a7d404056eee1f2fd944ace9bcfc361dc6448583e1d3d3baa**** |
| MonitorName |
string |
The name of the monitoring session. |
liveMonito**** |
| StopTime |
string |
The time when monitoring stops. The time is in UTC format. |
2017-01-11T12:00:00Z |
| StartTime |
string |
The time when monitoring starts. The time is in UTC format. |
2017-01-11T12:00:00Z |
| OutputTemplate |
string |
The template for the output resolution. Valid values:
|
lp_ud |
| Region |
string |
The region. Valid values:
|
cn-shanghai |
| InputList |
array<object> |
The list of input streams for monitoring. |
|
|
object |
|||
| Index |
integer |
The index. This parameter is used by the frontend. |
1 |
| InputUrl |
string |
The URL of the input stream. |
demo.aliyundoc.com |
| LayoutId |
integer |
The layout ID. The value must start from 1. |
1 |
| StreamName |
string |
The display name of the stream for monitoring. |
monitorStream**** |
| LayoutConfig |
object |
The layout information. |
|
| FillMode |
string |
The fill mode. For frontend development, set this parameter to none. |
none |
| PositionRefer |
string |
The reference point for the element's position. Valid values:
|
topLeft |
| PositionNormalized |
array |
The normalized coordinates of the element's position, in the format of [x,y]. The default value is [0,0]. The values of x and y must be normalized. |
|
|
number |
The position of the element's fill area, in the format of [x,y]. The values of x and y are normalized percentages. |
0.1 |
|
| SizeNormalized |
array |
The normalized size of the element's fill area, in the format of [w,h]. |
|
|
number |
The size of the element's fill area, in the format of [w,h]. The values of w and h are normalized percentages. |
0.3 |
|
| PlayConfig |
object |
The playback configuration. |
|
| VolumeRate |
number |
The volume. The value must be between 0 and 1, inclusive, with up to two decimal places. |
0.50 |
| OutputUrls |
object |
The output URLs for monitoring. |
|
| FlvUrl |
string |
The output URL in FLV format. |
http://demo.aliyundoc.com/monitor/445409ec-7eaa-461d-8f29-4bec2eb9****.flv |
| RtmpUrl |
string |
The output URL in RTMP format. |
rtmp://demo.aliyundoc.com/monitor/445409ec-7eaa-461d-8f29-4bec2eb9**** |
Examples
Success response
JSON format
{
"Total": 1,
"RequestId": "2234baba-a586-46ea-8bd4-c8f7891abcdef",
"LiveStreamMonitorList": [
{
"MonitorConfig": "\"{\\\"fpsLowThres\\\": 0.6,\\\"brLowThres\\\": 1.1,\\\"eofDurationThresSec\\\": 10}\"",
"Status": 1,
"MonitorId": "445409ec-7eaa-461d-8f29-4bec2eb9****",
"Domain": "demo.aliyundoc.com",
"CallbackUrl": "http://guide.aliyundoc.com/notify",
"AudioFrom": 1,
"DingTalkWebHookUrl": "https://oapi.dingtalk.com/robot/send?access_token=7a7d404056eee1f2fd944ace9bcfc361dc6448583e1d3d3baa****",
"MonitorName": "liveMonito****",
"StopTime": "2017-01-11T12:00:00Z",
"StartTime": "2017-01-11T12:00:00Z",
"OutputTemplate": "lp_ud",
"Region": "cn-shanghai",
"InputList": [
{
"Index": 1,
"InputUrl": "demo.aliyundoc.com",
"LayoutId": 1,
"StreamName": "monitorStream****",
"LayoutConfig": {
"FillMode": "none",
"PositionRefer": "topLeft",
"PositionNormalized": [
0.1
],
"SizeNormalized": [
0.3
]
},
"PlayConfig": {
"VolumeRate": 0.5
}
}
],
"OutputUrls": {
"FlvUrl": "http://demo.aliyundoc.com/monitor/445409ec-7eaa-461d-8f29-4bec2eb9****.flv",
"RtmpUrl": "rtmp://demo.aliyundoc.com/monitor/445409ec-7eaa-461d-8f29-4bec2eb9****"
}
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidUserId.Malformed | %s | |
| 401 | IllegalOperation | %s | |
| 500 | InternalError | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.