# Class DistributionStream (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.1 1.7.4 1.6.0 1.5.2 1.4.1 1.3.0 1.2.1 1.1.0 1.0.4 0.2.0 0.1.5

    DistributionStream(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Multiplexing settings for output streams used in
Distribution.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `key` | `str` Required. A unique key for this distribution stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between. |
| `container` | `str` Required. The container format. Supported container formats: - `ts`, must contain exactly one audio stream and up to one video stream. - `flv`, must contain at most one audio stream and at most one video stream. |
| `elementary_streams` | `MutableSequence[str]` Required. List of `ElementaryStream` keys multiplexed in this stream. Must contain at least one audio stream and up to one video stream. |