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

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 VideoStream\H264CodecSettings

H264 codec settings.

↳ h265 VideoStream\H265CodecSettings

H265 codec settings.

↳ vp9 VideoStream\Vp9CodecSettings

VP9 codec settings.

getH264

H264 codec settings.

Returns
Type Description
VideoStream\H264CodecSettings|null

hasH264

setH264

H264 codec settings.

Parameter
Name Description
var VideoStream\H264CodecSettings
Returns
Type Description
$this

getH265

H265 codec settings.

Returns
Type Description
VideoStream\H265CodecSettings|null

hasH265

setH265

H265 codec settings.

Parameter
Name Description
var VideoStream\H265CodecSettings
Returns
Type Description
$this

getVp9

VP9 codec settings.

Returns
Type Description
VideoStream\Vp9CodecSettings|null

hasVp9

setVp9

VP9 codec settings.

Parameter
Name Description
var VideoStream\Vp9CodecSettings
Returns
Type Description
$this

getCodecSettings

Returns
Type Description
string

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.