Retrieves a custom stream mixing template.
Operation description
First, obtain the name of the custom template that you want to query. Then, call this operation to retrieve the custom stream mixing template.
QPS limit
The queries per second (QPS) limit for this operation is 10 per user. If you exceed this limit, API calls are throttled, which may affect your business. We recommend that you call this operation at a reasonable rate.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
live:GetCustomTemplate |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-shanghai |
| Template |
string |
Yes |
The name of the custom template that you want to query. |
TestTemplate |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
BC1E78D3-FA8B-4457-DEE2-6093E1232254 |
| CustomTemplate |
string |
The template configuration. |
{height:1080,scale:[16:9],gop:60,bframes:30,cdesc:h264} |
| Template |
string |
The template name. |
TestTemplate |
Examples
Success response
JSON format
{
"RequestId": "BC1E78D3-FA8B-4457-DEE2-6093E1232254",
"CustomTemplate": "{height:1080,scale:[16:9],gop:60,bframes:30,cdesc:h264}",
"Template": "TestTemplate"
}
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.