Interface SegmentSettingsOrBuilder (0.34.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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the segmentDuration field is set.