Queries a list of live stream transcoding templates.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListLiveTranscodeTemplates |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Type |
string |
No |
The type of the template. Valid values:
|
normal |
| VideoCodec |
string |
No |
The video codec. Valid values:
|
H.264 |
| PageNo |
integer |
No |
The page number of the page to return. Default value: 1. |
1 |
| PageSize |
integer |
No |
The number of entries per page. Default value: 10. Maximum value: 100. |
20 |
| SortBy |
string |
No |
The sorting order. By default, the query results are sorted by creation time in descending order. Valid values:
|
asc |
| KeyWord |
string |
No |
The search keyword. You can use the template ID or name as the keyword to search for templates. If you search for templates by name, fuzzy match is supported. |
my_template |
| Category |
string |
No |
The category of the template. Valid values:
|
customized |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
******3B-0E1A-586A-AC29-742247****** |
| TotalCount |
integer |
The total number of entries returned. |
100 |
| TemplateContentList |
array<object> |
The list of transcoding templates. |
|
|
array<object> |
|||
| Name |
string |
The template name. |
my_template |
| TemplateId |
string |
The template ID. |
9b1571b513cb44f7a1ba6ae561ff46f7 |
| Type |
string |
The type of the template. |
normal |
| Category |
string |
The category of the template. Valid values: |
system |
| CreateTime |
string |
The time when the job was created. |
2022-07-20T03:26:36Z |
| TemplateConfig |
object |
The configuration of the template. |
|
| VideoParams |
object |
The video parameters. |
|
| Codec |
string |
The encoding format. |
264 |
| Height |
string |
The vertical resolution of the video. |
1280 |
| Width |
string |
The horizontal resolution of the video. |
720 |
| Fps |
string |
The video frame rate. |
30 |
| Bitrate |
string |
The video bitrate. |
2500 |
| Gop |
string |
The group of pictures (GOP) of the output video. Unit: frame. |
1000 |
| Profile |
string |
The encoding profile. |
3 |
| AudioParams |
object |
The audio parameters. |
|
| Codec |
string |
The audio codec. |
AAC |
| Bitrate |
string |
The audio bitrate. |
1000 |
| Samplerate |
string |
The audio sampling rate. |
44100 |
| Channels |
string |
The number of sound channels. |
2 |
| Profile |
string |
The encoding profile. |
aac_low |
Examples
Success response
JSON format
{
"RequestId": "******3B-0E1A-586A-AC29-742247******",
"TotalCount": 100,
"TemplateContentList": [
{
"Name": "my_template",
"TemplateId": "9b1571b513cb44f7a1ba6ae561ff46f7",
"Type": "normal",
"Category": "system",
"CreateTime": "2022-07-20T03:26:36Z",
"TemplateConfig": {
"VideoParams": {
"Codec": "264",
"Height": "1280",
"Width": "720",
"Fps": "30",
"Bitrate": "2500",
"Gop": "1000",
"Profile": "3"
},
"AudioParams": {
"Codec": "AAC",
"Bitrate": "1000",
"Samplerate": "44100",
"Channels": "2",
"Profile": "aac_low"
}
}
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | OperationDenied | Your account has not enabled the ICE service. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.