# Class MuxStream (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

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

Multiplexing settings for output stream.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `key` | `str` A unique key for this multiplexed 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` The container format. The default is `fmp4`. Supported container formats: - `fmp4` - the corresponding file extension is `.m4s` - `ts` - the corresponding file extension is `.ts` |
| `elementary_streams` | `MutableSequence[str]` List of `ElementaryStream` keys multiplexed in this stream. - For `fmp4` container, must contain either one video or one audio stream. - For `ts` container, must contain exactly one audio stream and up to one video stream. |
| `segment_settings` | `https://docs.cloud.google.com/python/docs/reference/livestream/latest/google.cloud.video.live_stream_v1.types.SegmentSettings` Segment settings for `fmp4` and `ts`. |
| `encryption_id` | `str` Identifier of the encryption configuration to use. If omitted, output will be unencrypted. |