Interface SegmentSettingsOrBuilder (0.55.0)

public interface SegmentSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSegmentDuration()

public abstract 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.

.google.protobuf.Duration segment_duration = 1;

Returns
Type Description
Duration

The segmentDuration.

getSegmentDurationOrBuilder()

public abstract DurationOrBuilder getSegmentDurationOrBuilder()

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.

.google.protobuf.Duration segment_duration = 1;

Returns
Type Description
DurationOrBuilder

hasSegmentDuration()

public abstract boolean hasSegmentDuration()

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.

.google.protobuf.Duration segment_duration = 1;

Returns
Type Description
boolean

Whether the segmentDuration field is set.