Google Cloud Video Live Stream V1 Client - Class TimecodeConfig (0.3.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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this

getUtcOffset

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

Returns
TypeDescription
Google\Protobuf\Duration|null

hasUtcOffset

setUtcOffset

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

Parameter
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getTimeZone

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

Returns
TypeDescription
Google\Type\TimeZone|null

hasTimeZone

setTimeZone

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

Parameter
NameDescription
var Google\Type\TimeZone
Returns
TypeDescription
$this

getTimeOffset

Returns
TypeDescription
string