# Stream


## Fields

| Field                    | Type                     | Required                 | Description              | Example                  |
| ------------------------ | ------------------------ | ------------------------ | ------------------------ | ------------------------ |
| `id`                     | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 29                       |
| `stream_type`            | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 2                        |
| `default`                | *T.nilable(T::Boolean)*  | :heavy_minus_sign:       | N/A                      | true                     |
| `codec`                  | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | aac                      |
| `index`                  | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 0                        |
| `bitrate`                | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 128                      |
| `bit_depth`              | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 8                        |
| `chroma_location`        | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | left                     |
| `chroma_subsampling`     | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | 14520                    |
| `coded_height`           | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 816                      |
| `coded_width`            | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 1920                     |
| `color_primaries`        | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | bt709                    |
| `color_range`            | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | tv                       |
| `color_space`            | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | bt709                    |
| `color_trc`              | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | bt709                    |
| `frame_rate`             | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 24                       |
| `has_scaling_matrix`     | *T.nilable(T::Boolean)*  | :heavy_minus_sign:       | N/A                      | false                    |
| `height`                 | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 814                      |
| `level`                  | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 40                       |
| `profile`                | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | lc                       |
| `ref_frames`             | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 4                        |
| `scan_type`              | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | progressive              |
| `stream_identifier`      | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | 1                        |
| `width`                  | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 1920                     |
| `display_title`          | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | English (AAC Stereo)     |
| `extended_display_title` | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | English (AAC Stereo)     |
| `selected`               | *T.nilable(T::Boolean)*  | :heavy_minus_sign:       | N/A                      | true                     |
| `channels`               | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 2                        |
| `language`               | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | English                  |
| `language_tag`           | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | en                       |
| `language_code`          | *T.nilable(::String)*    | :heavy_minus_sign:       | N/A                      | eng                      |
| `sampling_rate`          | *T.nilable(::Integer)*   | :heavy_minus_sign:       | N/A                      | 44100                    |