Application Live Transcoding Settings Update
Updates the live transcoding settings for an application.
Request
| Property | Value |
|---|---|
| Method | PATCH |
| URL | /api/applications/{appName}/settings/transcoding |
| Content-Type | application/json |
| Authentication | Bearer Token |
Request
curl -X PATCH "{BASE_URL}/api/applications/{appName}/settings/transcoding" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"key": "value"}'
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
appName | string | Yes | Application name |
Request
curl -X PATCH "{BASE_URL}/api/applications/{appName}/settings/transcoding" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
data.attributes.enabled | boolean | No | Enable live transcoding |
data.attributes.enabledPresets | string[] | No | List of enabled preset names |
Example Request
{
"data": {
"attributes": {
"enabled": true,
"enabledPresets": ["360p", "720p"]
}
}
}
Response Body
Live Transcoding Settings
| Parameter | Type | Description |
|---|---|---|
data.attributes.enabled.value | boolean | Live transcoding enabled status |
data.attributes.enabled.editable | boolean | Indicates if the field can be modified |
data.attributes.enabled.lockedBy | string | Locked by environment variable (if present) |
data.attributes.enabledPresets | string[] | List of enabled preset names |
message | string | Response status message |
Metadata
| Parameter | Type | Description |
|---|---|---|
meta.executionTime | integer | Request processing time in milliseconds |
meta.generatedAt | integer | Response generation timestamp (Unix timestamp in ms) |
Successful Response (200)
{
"data": {
"attributes": {
"enabled": {
"editable": true,
"value": true
},
"enabledPresets": ["360p", "720p"]
}
},
"meta": {
"executionTime": 5,
"generatedAt": 1766070109108
},
"message": "Live Transcoding Settings have been updated"
}
Error Responses
Application Not Found (404)
| Parameter | Type | Description |
|---|---|---|
message | string | Human-readable error message |
{
"message": "Application not found"
}
Support Needed?
Create a free ticket and our support team will provide you necessary assistance.