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

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Duration|null

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
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getIndividualSegments

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

Returns
TypeDescription
bool

setIndividualSegments

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this