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 \ V1beta1Methods
__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 |
↳ individual_segments |
bool
Required. Create an individual segment file. The default is |
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 |
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 | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
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 |