Google Cloud Video Transcoder V1 Client - Class ElementaryStream (0.8.2)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key string

A unique key for this elementary stream.

↳ video_stream Google\Cloud\Video\Transcoder\V1\VideoStream

Encoding of a video stream.

↳ audio_stream Google\Cloud\Video\Transcoder\V1\AudioStream

Encoding of an audio stream.

↳ text_stream Google\Cloud\Video\Transcoder\V1\TextStream

Encoding of a text stream. For example, closed captions or subtitles.

getKey

A unique key for this elementary stream.

Returns
TypeDescription
string

setKey

A unique key for this elementary stream.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVideoStream

Encoding of a video stream.

Returns
TypeDescription
Google\Cloud\Video\Transcoder\V1\VideoStream|null

hasVideoStream

setVideoStream

Encoding of a video stream.

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1\VideoStream
Returns
TypeDescription
$this

getAudioStream

Encoding of an audio stream.

Returns
TypeDescription
Google\Cloud\Video\Transcoder\V1\AudioStream|null

hasAudioStream

setAudioStream

Encoding of an audio stream.

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1\AudioStream
Returns
TypeDescription
$this

getTextStream

Encoding of a text stream. For example, closed captions or subtitles.

Returns
TypeDescription
Google\Cloud\Video\Transcoder\V1\TextStream|null

hasTextStream

setTextStream

Encoding of a text stream. For example, closed captions or subtitles.

Parameter
NameDescription
var Google\Cloud\Video\Transcoder\V1\TextStream
Returns
TypeDescription
$this

getElementaryStream

Returns
TypeDescription
string