Google Cloud Video Transcoder V1beta1 Client - Class SegmentSettings (0.8.2)

Reference documentation and code samples for the Google Cloud Video Transcoder V1beta1 Client class SegmentSettings.

Segment settings for "ts" , "fmp4" and "vtt" .

Generated from protobuf message google.cloud.video.transcoder.v1beta1.SegmentSettings

Namespace

Google \ Cloud \ Video \ Transcoder \ V1beta1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ segment_duration
Google\Protobuf\Duration

Duration of the segments in seconds. The default is "6.0s" . Note that segmentDuration must be greater than or equal to gopDuration , and segmentDuration must be divisible by gopDuration .

↳ individual_segments
bool

Required. Create an individual segment file. The default is false .

getSegmentDuration

Duration of the segments in seconds. The default is "6.0s" . Note that segmentDuration must be greater than or equal to gopDuration , and segmentDuration must be divisible by gopDuration .

Returns
Type
Description

hasSegmentDuration

clearSegmentDuration

setSegmentDuration

Duration of the segments in seconds. The default is "6.0s" . Note that segmentDuration must be greater than or equal to gopDuration , and segmentDuration must be divisible by gopDuration .

Parameter
Name
Description
Returns
Type
Description
$this

getIndividualSegments

Required. Create an individual segment file. The default is false .

Returns
Type
Description
bool

setIndividualSegments

Required. Create an individual segment file. The default is false .

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: