Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class ElementaryStream.
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.
Generated from protobuf messagegoogle.cloud.video.livestream.v1.ElementaryStream
Namespace
Google \ Cloud \ Video \ LiveStream \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ key
string
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.
Encoding of a text stream. For example, closed captions or subtitles.
getKey
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.
Returns
Type
Description
string
setKey
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Video Live Stream V1 Client - Class ElementaryStream (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-video-live-stream/latest/V1.ElementaryStream)\n- [1.2.0](/php/docs/reference/cloud-video-live-stream/1.2.0/V1.ElementaryStream)\n- [1.1.3](/php/docs/reference/cloud-video-live-stream/1.1.3/V1.ElementaryStream)\n- [1.0.0](/php/docs/reference/cloud-video-live-stream/1.0.0/V1.ElementaryStream)\n- [0.7.5](/php/docs/reference/cloud-video-live-stream/0.7.5/V1.ElementaryStream)\n- [0.6.2](/php/docs/reference/cloud-video-live-stream/0.6.2/V1.ElementaryStream)\n- [0.5.0](/php/docs/reference/cloud-video-live-stream/0.5.0/V1.ElementaryStream)\n- [0.4.2](/php/docs/reference/cloud-video-live-stream/0.4.2/V1.ElementaryStream)\n- [0.3.2](/php/docs/reference/cloud-video-live-stream/0.3.2/V1.ElementaryStream)\n- [0.2.6](/php/docs/reference/cloud-video-live-stream/0.2.6/V1.ElementaryStream) \nReference documentation and code samples for the Google Cloud Video Live Stream V1 Client class ElementaryStream.\n\nEncoding of an input element such as an audio, video, or text track.\n\nElementary streams must be packaged before mapping and sharing between\ndifferent output formats.\n\nGenerated from protobuf message `google.cloud.video.livestream.v1.ElementaryStream`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ LiveStream \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getKey\n\nA unique key for this elementary stream. The key must be 1-63\ncharacters in length. The key must begin and end with a letter (regardless\nof case) or a number, but can contain dashes or underscores in between.\n\n### setKey\n\nA unique key for this elementary stream. The key must be 1-63\ncharacters in length. The key must begin and end with a letter (regardless\nof case) or a number, but can contain dashes or underscores in between.\n\n### getVideoStream\n\nEncoding of a video stream.\n\n### hasVideoStream\n\n### setVideoStream\n\nEncoding of a video stream.\n\n### getAudioStream\n\nEncoding of an audio stream.\n\n### hasAudioStream\n\n### setAudioStream\n\nEncoding of an audio stream.\n\n### getTextStream\n\nEncoding of a text stream. For example, closed captions or subtitles.\n\n### hasTextStream\n\n### setTextStream\n\nEncoding of a text stream. For example, closed captions or subtitles.\n\n### getElementaryStream"]]