Retrieves all custom stream mix templates.
Operation description
You can call this operation to retrieve all custom stream mix templates. The operation returns a list of template names and template configurations.
QPS limit
The queries per second (QPS) limit for a single user is 10 calls per second. If this limit is exceeded, throttling is triggered, which may affect your business. We recommend that you are aware of this limit when you call this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:GetAllCustomTemplates |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| UserId |
string |
No |
The user ID. |
25346073170691**** |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| CustomTemplates |
string |
A list of template names and template configurations. |
[{"templateConfig": "{\"cdesc\":\"H264\",\"scale\":\"[3:4]\",\"gop\":\"1\",\"bframes\":\"1\",\"height\":\"1080\"}","templateName": "custom1"},{"templateConfig": "{\"ar\":\"44100\",\"cdesc\":\"H264\",\"scale\":\"[3:4]\",\"gop\":\"1\",\"bframes\":\"1\",\"height\":\"1080\"}","templateName": "cus"}] |
| RequestId |
string |
The request ID. |
4791648Q-813C-6254-865C-0ED913661230 |
Examples
Success response
JSON format
{
"CustomTemplates": " [{\"templateConfig\": \"{\\\"cdesc\\\":\\\"H264\\\",\\\"scale\\\":\\\"[3:4]\\\",\\\"gop\\\":\\\"1\\\",\\\"bframes\\\":\\\"1\\\",\\\"height\\\":\\\"1080\\\"}\",\"templateName\": \"custom1\"},{\"templateConfig\": \"{\\\"ar\\\":\\\"44100\\\",\\\"cdesc\\\":\\\"H264\\\",\\\"scale\\\":\\\"[3:4]\\\",\\\"gop\\\":\\\"1\\\",\\\"bframes\\\":\\\"1\\\",\\\"height\\\":\\\"1080\\\"}\",\"templateName\": \"cus\"}]",
"RequestId": "4791648Q-813C-6254-865C-0ED913661230"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidUserId.Malformed | %s | |
| 400 | InvalidParameter.Malformed | %s | |
| 400 | MissingParameter | %s | |
| 400 | CustomTemplateInvalid | %s | |
| 500 | InternalError | %s | |
| 404 | InvalidDomainName.NotFound | %s |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.