# Stream `Stream` represents a particular stream from a media item, such as the video stream, audio stream, or subtitle stream. The stream may either be part of the file represented by the parent `Part` or, especially for subtitles, an external file. The stream contains more detailed information about the specific stream. For example, a video may include the `aspectRatio` at the `Media` level, but detailed information about the video stream like the color space will be included on the `Stream` for the video stream. Note that photos do not have streams (mostly as an optimization). ## Fields | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | | `default_` | *Optional\* | :heavy_minus_sign: | N/A | true | | `audioChannelLayout` | *Optional\* | :heavy_minus_sign: | N/A | stereo | | `bitDepth` | *Optional\* | :heavy_minus_sign: | N/A | 8 | | `bitrate` | *Optional\* | :heavy_minus_sign: | N/A | 5466 | | `canAutoSync` | *Optional\* | :heavy_minus_sign: | For subtitle streams only. If `true` then the server can attempt to automatically sync the subtitle timestamps with the video. | true | | `chromaLocation` | *Optional\* | :heavy_minus_sign: | N/A | topleft | | `chromaSubsampling` | *Optional\* | :heavy_minus_sign: | N/A | 4:2:0 | | `codec` | *Optional\* | :heavy_minus_sign: | The codec of the stream, such as `h264` or `aac` | h264 | | `colorPrimaries` | *Optional\* | :heavy_minus_sign: | N/A | bt709 | | `colorRange` | *Optional\* | :heavy_minus_sign: | N/A | tv | | `colorSpace` | *Optional\* | :heavy_minus_sign: | N/A | bt709 | | `colorTrc` | *Optional\* | :heavy_minus_sign: | N/A | bt709 | | `displayTitle` | *Optional\* | :heavy_minus_sign: | A friendly name for the stream, often comprised of the language and codec information | English (H.264 Main) | | `frameRate` | *Optional\* | :heavy_minus_sign: | N/A | 23.976 | | `hasScalingMatrix` | *Optional\* | :heavy_minus_sign: | N/A | false | | `height` | *Optional\* | :heavy_minus_sign: | N/A | 544 | | `id` | *Optional\* | :heavy_minus_sign: | N/A | 1 | | `index` | *Optional\* | :heavy_minus_sign: | If the stream is part of the `Part` and not an external resource, the index of the stream within that part | 0 | | `key` | *Optional\* | :heavy_minus_sign: | If the stream is independently streamable, the key from which it can be streamed | /library/streams/1 | | `language` | *Optional\* | :heavy_minus_sign: | N/A | English | | `languageCode` | *Optional\* | :heavy_minus_sign: | The three character language code for the stream contents | eng | | `level` | *Optional\* | :heavy_minus_sign: | N/A | 31 | | `profile` | *Optional\* | :heavy_minus_sign: | N/A | main | | `refFrames` | *Optional\* | :heavy_minus_sign: | N/A | 2 | | `samplingRate` | *Optional\* | :heavy_minus_sign: | N/A | 48000 | | `selected` | *Optional\* | :heavy_minus_sign: | N/A | | | `streamIdentifier` | *Optional\* | :heavy_minus_sign: | N/A | 1 | | `streamType` | *Optional\* | :heavy_minus_sign: | A number indicating the type of the stream. `1` for video, `2` for audio, `3` for subtitles, `4` for lyrics | 1 | | `width` | *Optional\* | :heavy_minus_sign: | N/A | 1280 | | `additionalProperties` | Map\ | :heavy_minus_sign: | N/A | |