Updates the playback settings for an application.
| Property | Value |
|---|---|
| Method | PATCH |
| URL | /api/applications/{appName}/settings/playback |
| Content-Type | application/json |
| Authentication | Bearer Token |
| Parameter | Type | Required | Description |
|---|---|---|---|
appName |
string | Yes | Application name |
| 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 |
harnessTypes"storm-hls" — Storm HLS player"storm-mse" — Storm MSE player"generic-hls" — Generic HLS"rtmp" — RTMP playback{
"data": {
"attributes": {
"totalViewerLimit": null,
"streamViewerLimit": 100,
"frameBufferSize": 5,
"harnessTypes": ["storm-hls", "storm-mse", "generic-hls"]
}
}
}
| Code | Description |
|---|---|
| 200 | Success - Settings updated |
| 400 | Bad Request - Invalid parameters |
| 401 | Unauthorized - Invalid or missing token |
| 404 | Not Found - Application does not exist |
| 429 | Too Many Requests - Rate limit exceeded |
| 500 | Internal Server Error |
{
"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"
}
| 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 |
| Parameter | Type | Description |
|---|---|---|
meta.executionTime |
integer | Request processing time in milliseconds |
meta.generatedAt |
integer | Response generation timestamp (Unix timestamp in ms) |
{
"message": "Application not found"
}
| Parameter | Type | Description |
|---|---|---|
message |
string | Human-readable error message |