Google Cloud Video Live Stream V1 Client - Class TimecodeConfig (1.1.2)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class TimecodeConfig.

Timecode configuration.

Generated from protobuf message google.cloud.video.livestream.v1.TimecodeConfig

Namespace

Google \ Cloud \ Video \ LiveStream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source int

The source of the timecode that will later be used in outputs/manifests. It determines the initial timecode/timestamp (first frame) of output streams.

↳ utc_offset Google\Protobuf\Duration

UTC offset. Must be whole seconds, between -18 hours and +18 hours.

↳ time_zone Google\Type\TimeZone

Time zone e.g. "America/Los_Angeles".

getSource

The source of the timecode that will later be used in outputs/manifests.

It determines the initial timecode/timestamp (first frame) of output streams.

Returns
Type Description
int

setSource

The source of the timecode that will later be used in outputs/manifests.

It determines the initial timecode/timestamp (first frame) of output streams.

Parameter
Name Description
var int
Returns
Type Description
$this

getUtcOffset

UTC offset. Must be whole seconds, between -18 hours and +18 hours.

Returns
Type Description
Google\Protobuf\Duration|null

hasUtcOffset

setUtcOffset

UTC offset. Must be whole seconds, between -18 hours and +18 hours.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getTimeZone

Time zone e.g. "America/Los_Angeles".

Returns
Type Description
Google\Type\TimeZone|null

hasTimeZone

setTimeZone

Time zone e.g. "America/Los_Angeles".

Parameter
Name Description
var Google\Type\TimeZone
Returns
Type Description
$this

getTimeOffset

Returns
Type Description
string