---
title: "Set playback speed"
method: POST
path: "/recording/streams/{stream_id}/speed/"
tags: ["stream-controls"]
---

# Set playback speed

`POST /recording/streams/{stream_id}/speed/`

## Request

- Base URL: `https://rec-streamer-eu-central-1.angelcam.com`
- URL: `https://rec-streamer-eu-central-1.angelcam.com/recording/streams/{stream_id}/speed/`
- Auth: none required
- TypeScript: <https://skmtc.dev/angelcam/apis/angelcam-api/docs/recording/streams/:stream_id/speed/post.ts> (a function with typed inputs; its response is checked against the schema)

If you're looking to modify the playback speed in your application, there's an essential step that you need to keep in mind. You must send a request to our streaming service via this endpoint to prepare the HLS playlist at the desired speed.

Keep in mind, however, that altering the playback speed does not only change how fast the video plays, but also affects the bitrate. For instance, if you increase the playback speed to twice (2x) the normal speed, the bitrate will also double. The implications of this are significant. A higher bitrate requires faster internet speeds to maintain smooth playback. So, if your users do not have a fast enough internet connection, they might experience buffering or interruptions during playback.

## Path parameters

- `stream_id` string, required

## Request body

- object
  - `speed` 1 | 2 | 4 | 8 | 16, required

## Response `204`

Empty response.

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/angelcam/apis/angelcam-api.md) - [All operations](https://skmtc.dev/angelcam/apis/angelcam-api/llms.txt) - [OpenAPI document](https://skmtc.dev/angelcam/apis/angelcam-api/revisions/dd1cdc3f2c23?raw)
