Storm docs logo
Search the docs.../
Explore Storm Products

Application Playback Settings Update

Updates the playback settings for an application.

Request

PropertyValue
MethodPATCH
URL/api/applications/{appName}/settings/playback
Content-Typeapplication/json
AuthenticationBearer Token
Request
Code iconbash
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

ParameterTypeRequiredDescription
appNamestringYesApplication name
Request
Code iconbash
curl -X PATCH "{BASE_URL}/api/applications/{appName}/settings/playback" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json"

Request Body

ParameterTypeRequiredDescription
data.attributes.totalViewerLimitinteger | nullNoTotal viewer limit (null = unlimited)
data.attributes.streamViewerLimitinteger | nullNoViewer limit per stream (null = unlimited)
data.attributes.frameBufferSizeintegerNoFrame buffer size
data.attributes.harnessTypesstring[]NoEnabled 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

Code iconjson
{
  "data": {
    "attributes": {
      "totalViewerLimit": null,
      "streamViewerLimit": 100,
      "frameBufferSize": 5,
      "harnessTypes": ["storm-hls", "storm-mse", "generic-hls"]
    }
  }
}

Response Body

Playback Settings

ParameterTypeDescription
data.attributes.totalViewerLimit.valueinteger|nullTotal viewer limit
data.attributes.totalViewerLimit.editablebooleanIndicates if the field can be modified
data.attributes.totalViewerLimit.lockedBystringLocked by environment variable (if present)
data.attributes.streamViewerLimit.valueinteger|nullViewer limit per stream
data.attributes.streamViewerLimit.editablebooleanIndicates if the field can be modified
data.attributes.streamViewerLimit.lockedBystringLocked by environment variable (if present)
data.attributes.frameBufferSize.valueintegerFrame buffer size
data.attributes.frameBufferSize.editablebooleanIndicates if the field can be modified
data.attributes.frameBufferSize.lockedBystringLocked by environment variable (if present)
data.attributes.harnessTypesstring[]Enabled playback types
messagestringResponse status message

Metadata

ParameterTypeDescription
meta.executionTimeintegerRequest processing time in milliseconds
meta.generatedAtintegerResponse generation timestamp (Unix timestamp in ms)
Successful Response (200)
Code iconjson
{
  "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)

ParameterTypeDescription
messagestringHuman-readable error message
Code iconjson
{
  "message": "Application not found"
}
Support Needed?

Create a free ticket and our support team will provide you necessary assistance.

Blog
Support
About us
Patents
Term of use
Privacy policy
Contact
©2026 Storm Streaming Media. All Rights Reserved.