Query transcoding templates
Query transcoding templates
https://api.sd-rtn.com/v1/projects/{appId}/rtls/abr/config/codecs
Query all transcoding template configurations under the specified App ID
Request
Path parameters
The App ID of the project
Response
-
If the returned status code is
200
, the request was successful. The response body contains the result of the request.OK
- status string
Status of the request.
success
: The request was successful.error
: The request failed
- data object
Show propertiesHide properties
- enabled boolean
Whether to enable the multi-bitrate function on the viewer side.
true
: Enablefalse
: Disable
- codecs array
Show propertiesHide properties
- id string
The ID of the transcoding template.
- enabled boolean
Whether to enable this transcoding template:
true
: Enable the template.false
: Do not enable this template.
- Video object
Show propertiesHide properties
- width number
The width of the transcoded output video (px).
- height number
The height of the transcoded output video (px).
- fps number
The frame rate (fps) of the transcoded output video.
-
If the returned status code is not
200
, the request failed. The response body includes thedetail
andreason
for failure. Refer to status codes to understand the possible reasons for failure.OK
- status string
Status of the request.
success
: The request was successful.error
: The request failed
- data object
Show propertiesHide properties
- enabled boolean
Whether to enable the multi-bitrate function on the viewer side.
true
: Enablefalse
: Disable
- codecs array
Show propertiesHide properties
- id string
The ID of the transcoding template.
- enabled boolean
Whether to enable this transcoding template:
true
: Enable the template.false
: Do not enable this template.
- Video object
Show propertiesHide properties
- width number
The width of the transcoded output video (px).
- height number
The height of the transcoded output video (px).
- fps number
The frame rate (fps) of the transcoded output video.
- message string
Describes why the request failed.