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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Video\Transcoder\V1\VideoStream\H264CodecSettings|null

hasH264

setH264

H264 codec settings.

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

getH265

H265 codec settings.

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

hasH265

setH265

H265 codec settings.

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

getVp9

VP9 codec settings.

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

hasVp9

setVp9

VP9 codec settings.

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

getCodecSettings

Returns
TypeDescription
string