Update Encoder
Request to update the Encoder section.
Request
| Property | Value |
|---|---|
| Method | PUT |
| URL | https://api.stormstreaming.com/api/request/stream/{stream_key}/encoder |
| Authentication | x-api-key header |
URL Parameters:
| Parameter | Description |
|---|---|
{stream_key} | The stream key of the stream you wish to modify |
Request
curl -X PUT "https://api.stormstreaming.com/api/request/stream/{stream_key}/encoder" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"encoderMode": "ABR"
}'
Request Body
| Field | Default | Required | Validation | Description |
|---|---|---|---|---|
encoderMode | PASSTHROUGH | No | String PASSTHROUGH/ABR | PASSTHROUGH - all viewers receive the same stream version. ABR (Adaptive Bitrate) - viewers receive stream adapted to their device and internet capabilities. |
Request Body
{
"encoderMode": "ABR"
}
Response
| Parameter | Type | Description |
|---|---|---|
message | string | Response status message |
Successful Response (200)
{
"message": "Stream has been updated."
}
Support Needed?
Create a free ticket and our support team will provide you necessary assistance.