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

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

Encoding of an input element such as an audio, video, or text
track. Elementary streams must be packaged before mapping and
sharing between different output formats.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `key` | `str` A unique key for this elementary 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. |
| `video_stream` | `https://docs.cloud.google.com/python/docs/reference/livestream/latest/google.cloud.video.live_stream_v1.types.VideoStream` Encoding of a video stream. This field is a member of `oneof`_ `elementary_stream`. |
| `audio_stream` | `https://docs.cloud.google.com/python/docs/reference/livestream/latest/google.cloud.video.live_stream_v1.types.AudioStream` Encoding of an audio stream. This field is a member of `oneof`_ `elementary_stream`. |
| `text_stream` | `https://docs.cloud.google.com/python/docs/reference/livestream/latest/google.cloud.video.live_stream_v1.types.TextStream` Encoding of a text stream. For example, closed captions or subtitles. This field is a member of `oneof`_ `elementary_stream`. |