Skip to Content
Update live stream static renditions for new assets
put

Updates a live stream's static renditions settings for new assets. Further assets made via this live stream will create static renditions per the settings provided. You must provide all static renditions desired.

Request body params
static_renditions[].resolution
string
Possible values: "highest""audio-only"
static_renditions[].passthrough
string

Arbitrary user-supplied metadata set for the static rendition. Max 255 characters.

Request path & query params
LIVE_STREAM_ID
string

The live stream ID

put
200
/video/v1/live-streams/{LIVE_STREAM_ID}/new-asset-settings/static-renditions
Request
(application/json)
{
  "static_renditions": [
    {
      "resolution": "audio-only"
    },
    {
      "resolution": "highest"
    }
  ]
}
Response
(application/json)
{
  "data": {
    "stream_key": "abcdefgh",
    "status": "idle",
    "reconnect_window": 60,
    "playback_ids": [
      {
        "policy": "public",
        "id": "HNRDuwff3K2VjTZZAPuvd2Kx6D01XUQFv02GFBHPUka018"
      }
    ],
    "new_asset_settings": {
      "playback_policies": [
        "public"
      ],
      "static_renditions": [
        {
          "resolution": "audio-only"
        },
        {
          "resolution": "highest"
        }
      ]
    },
    "id": "ZEBrNTpHC02iUah025KM3te6ylM7W4S4silsrFtUkn3Ag",
    "created_at": "1609937654",
    "latency_mode": "standard",
    "max_continuous_duration": 43200
  }
}