Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class ElementaryStream.
Encoding of an input file such as an audio, video, or text track.
Elementary streams must be packaged before mapping and sharing between different output formats.
Generated from protobuf message google.cloud.video.transcoder.v1.ElementaryStream
Namespace
Google \ Cloud \ Video \ Transcoder \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key |
string
A unique key for this elementary stream. |
↳ video_stream |
VideoStream
Encoding of a video stream. |
↳ audio_stream |
AudioStream
Encoding of an audio stream. |
↳ text_stream |
TextStream
Encoding of a text stream. For example, closed captions or subtitles. |
getKey
A unique key for this elementary stream.
Returns | |
---|---|
Type | Description |
string |
setKey
A unique key for this elementary stream.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getVideoStream
Encoding of a video stream.
Returns | |
---|---|
Type | Description |
VideoStream|null |
hasVideoStream
setVideoStream
Encoding of a video stream.
Parameter | |
---|---|
Name | Description |
var |
VideoStream
|
Returns | |
---|---|
Type | Description |
$this |
getAudioStream
Encoding of an audio stream.
Returns | |
---|---|
Type | Description |
AudioStream|null |
hasAudioStream
setAudioStream
Encoding of an audio stream.
Parameter | |
---|---|
Name | Description |
var |
AudioStream
|
Returns | |
---|---|
Type | Description |
$this |
getTextStream
Encoding of a text stream. For example, closed captions or subtitles.
Returns | |
---|---|
Type | Description |
TextStream|null |
hasTextStream
setTextStream
Encoding of a text stream. For example, closed captions or subtitles.
Parameter | |
---|---|
Name | Description |
var |
TextStream
|
Returns | |
---|---|
Type | Description |
$this |
getElementaryStream
Returns | |
---|---|
Type | Description |
string |