Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class SegmentSettings.
Segment settings for fmp4
and ts
.
Generated from protobuf message google.cloud.video.livestream.v1.SegmentSettings
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ segment_duration
Google\Protobuf\Duration
Duration of the segments in seconds. The default is 6s
. Note that segmentDuration
must be greater than or equal to gop_duration
, and segmentDuration
must be divisible by gop_duration
. Valid range is [2s, 20s]. All mux_streams
in the same manifest must have the same segment duration.
getSegmentDuration
Duration of the segments in seconds. The default is 6s
. Note that segmentDuration
must be greater than or equal to gop_duration
, and segmentDuration
must be divisible by gop_duration
.
Valid range is [2s, 20s]. All mux_streams in the same manifest must have the same segment duration.
hasSegmentDuration
clearSegmentDuration
setSegmentDuration
Duration of the segments in seconds. The default is 6s
. Note that segmentDuration
must be greater than or equal to gop_duration
, and segmentDuration
must be divisible by gop_duration
.
Valid range is [2s, 20s]. All mux_streams in the same manifest must have the same segment duration.
$this