Google Cloud Video Transcoder V1 Client - Class VideoStream (0.10.5)

Reference documentation and code samples for the Google Cloud Video Transcoder V1 Client class VideoStream.

Video stream resource.

Generated from protobuf message google.cloud.video.transcoder.v1.VideoStream

Namespace

Google \ Cloud \ Video \ Transcoder \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ h264 Google\Cloud\Video\Transcoder\V1\VideoStream\H264CodecSettings

H264 codec settings.

↳ h265 Google\Cloud\Video\Transcoder\V1\VideoStream\H265CodecSettings

H265 codec settings.

↳ vp9 Google\Cloud\Video\Transcoder\V1\VideoStream\Vp9CodecSettings

VP9 codec settings.

getH264

H264 codec settings.

Returns
Type Description
Google\Cloud\Video\Transcoder\V1\VideoStream\H264CodecSettings|null

hasH264

setH264

H264 codec settings.

Parameter
Name Description
var Google\Cloud\Video\Transcoder\V1\VideoStream\H264CodecSettings
Returns
Type Description
$this

getH265

H265 codec settings.

Returns
Type Description
Google\Cloud\Video\Transcoder\V1\VideoStream\H265CodecSettings|null

hasH265

setH265

H265 codec settings.

Parameter
Name Description
var Google\Cloud\Video\Transcoder\V1\VideoStream\H265CodecSettings
Returns
Type Description
$this

getVp9

VP9 codec settings.

Returns
Type Description
Google\Cloud\Video\Transcoder\V1\VideoStream\Vp9CodecSettings|null

hasVp9

setVp9

VP9 codec settings.

Parameter
Name Description
var Google\Cloud\Video\Transcoder\V1\VideoStream\Vp9CodecSettings
Returns
Type Description
$this

getCodecSettings

Returns
Type Description
string