Application Playback Settings Update
Updates the playback settings for an application.
Request
| Property | Value |
|---|---|
| Method | PATCH |
| URL | /api/applications/{appName}/settings/playback |
| Content-Type | application/json |
| Authentication | Bearer Token |
Request
curl -X PATCH "{BASE_URL}/api/applications/{appName}/settings/playback" \
-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/playback" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json"
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
data.attributes.totalViewerLimit | integer | null | No | Total viewer limit (null = unlimited) |
data.attributes.streamViewerLimit | integer | null | No | Viewer limit per stream (null = unlimited) |
data.attributes.frameBufferSize | integer | No | Frame buffer size |
data.attributes.harnessTypes | string[] | No | Enabled playback types |
Allowed values for harnessTypes
"storm-hls"— Storm HLS player"storm-mse"— Storm MSE player"generic-hls"— Generic HLS"rtmp"— RTMP playback
Example Request
{
"data": {
"attributes": {
"totalViewerLimit": null,
"streamViewerLimit": 100,
"frameBufferSize": 5,
"harnessTypes": ["storm-hls", "storm-mse", "generic-hls"]
}
}
}
Response Body
Playback Settings
| Parameter | Type | Description |
|---|---|---|
data.attributes.totalViewerLimit.value | integer|null | Total viewer limit |
data.attributes.totalViewerLimit.editable | boolean | Indicates if the field can be modified |
data.attributes.totalViewerLimit.lockedBy | string | Locked by environment variable (if present) |
data.attributes.streamViewerLimit.value | integer|null | Viewer limit per stream |
data.attributes.streamViewerLimit.editable | boolean | Indicates if the field can be modified |
data.attributes.streamViewerLimit.lockedBy | string | Locked by environment variable (if present) |
data.attributes.frameBufferSize.value | integer | Frame buffer size |
data.attributes.frameBufferSize.editable | boolean | Indicates if the field can be modified |
data.attributes.frameBufferSize.lockedBy | string | Locked by environment variable (if present) |
data.attributes.harnessTypes | string[] | Enabled playback types |
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": {
"totalViewerLimit": {
"editable": true,
"value": null
},
"streamViewerLimit": {
"editable": true,
"value": 100
},
"frameBufferSize": {
"editable": true,
"value": 5
},
"harnessTypes": ["storm-hls", "storm-mse", "generic-hls"]
}
},
"meta": {
"executionTime": 8,
"generatedAt": 1766070331103
},
"message": "Playback 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.