# Streaming

> Stream URL reference, generated from the OpenAPI spec.

HTML version: https://www.mux.com/docs/api-reference/stream/streaming. Full OpenAPI spec: https://www.mux.com/stream-spec.json

## Retrieve a static rendition

`GET https://stream.mux.com/{PLAYBACK_ID}/{FILENAME}`

Fetch a static rendition (usually an MP4 or M4A file) of the specified video asset. [MP4 Support](https://docs.mux.com/guides/enable-static-mp4-renditions) must be enabled on the asset before using these URLs.

Operation ID: `get-static-rendition`. HTML version: https://www.mux.com/docs/api-reference/stream/streaming/get-static-rendition

### Path parameters

- `PLAYBACK_ID` (string, required): The asset or live stream's playback ID.
- `FILENAME` (string, required): The filename of the static rendition file, as returned from the static renditions API files list. [See the MP4 guide for more details.](https://docs.mux.com/guides/enable-static-mp4-renditions) Possible values: `"capped-1080p.mp4"`, `"audio.m4a"`, `"low.mp4"`, `"medium.mp4"`, `"high.mp4"`.

### Query parameters

- `token` (string): Signed token (JWT) for [secure video playback](https://docs.mux.com/guides/secure-video-playback).

### Response `200`

MP4 file retrieved successfully.

### Errors

- `400`: Invalid request due to missing or incorrect parameters.
- `404`: The requested video asset or rendition was not found.

Every error response has this body:

- `error` (object)
  - `message` (string, required): Description of the error
  - `messages` (array of string): Description of the errors
  - `type` (string): Category of the error
  - `code` (integer, format: int32): Internal error code
- `code` (integer, format: int32): Internal error code
- `message` (string): Description of the error
