-
public class BrightcoveSegmentTemplate
-
-
Field Summary
Fields Modifier and Type Field Description private final SegmentBase.SegmentTemplate
segmentTemplate
-
Constructor Summary
Constructors Constructor Description BrightcoveSegmentTemplate(RangedUri initialization, long timescale, long presentationTimeOffset, long startNumber, long endNumber, long duration, List<SegmentBase.SegmentTimelineElement> segmentTimeline, UrlTemplate initializationTemplate, UrlTemplate mediaTemplate)
BrightcoveSegmentTemplate(RangedUri initialization, long timescale, long presentationTimeOffset, long startNumber, long endNumber, long duration, List<SegmentBase.SegmentTimelineElement> segmentTimeline, long availabilityTimeOffsetUs, UrlTemplate initializationTemplate, UrlTemplate mediaTemplate, long timeShiftBufferDepthMs, long periodStartUnixTimeMs)
-
Method Summary
Modifier and Type Method Description SegmentBase.SegmentTemplate
getSegmentTemplate()
int
getSegmentCount(long periodDurationUs)
Deprecated. long
getSegmentCountLong(long periodDurationUs)
-
-
Constructor Detail
-
BrightcoveSegmentTemplate
BrightcoveSegmentTemplate(RangedUri initialization, long timescale, long presentationTimeOffset, long startNumber, long endNumber, long duration, List<SegmentBase.SegmentTimelineElement> segmentTimeline, UrlTemplate initializationTemplate, UrlTemplate mediaTemplate)
- Parameters:
initialization
- A RangedUri corresponding to initialization data, if such dataexists.timescale
- The timescale in units per second.presentationTimeOffset
- The presentation time offset.startNumber
- The sequence number of the first segment.duration
- The duration of each segment in the case of fixed duration segments.segmentTimeline
- A segment timeline corresponding to the segments.initializationTemplate
- A template defining the location of initialization data, ifsuch data exists.mediaTemplate
- A template defining the location of each media segment.
-
BrightcoveSegmentTemplate
BrightcoveSegmentTemplate(RangedUri initialization, long timescale, long presentationTimeOffset, long startNumber, long endNumber, long duration, List<SegmentBase.SegmentTimelineElement> segmentTimeline, long availabilityTimeOffsetUs, UrlTemplate initializationTemplate, UrlTemplate mediaTemplate, long timeShiftBufferDepthMs, long periodStartUnixTimeMs)
- Parameters:
initialization
- A RangedUri corresponding to initialization data, if such dataexists.timescale
- The timescale in units per second.presentationTimeOffset
- The presentation time offset.startNumber
- The sequence number of the first segment.duration
- The duration of each segment in the case of fixed duration segments.segmentTimeline
- A segment timeline corresponding to the segments.availabilityTimeOffsetUs
- The offset to the current realtime at which segments becomeinitializationTemplate
- A template defining the location of initialization data, ifsuch data exists.mediaTemplate
- A template defining the location of each media segment.timeShiftBufferDepthMs
- The time shift buffer depth in microseconds.periodStartUnixTimeMs
- The start of the enclosing period in microseconds since the Unix epoch
-
-
Method Detail
-
getSegmentTemplate
SegmentBase.SegmentTemplate getSegmentTemplate()
-
getSegmentCount
@Deprecated() int getSegmentCount(long periodDurationUs)
Deprecated. Use getSegmentCountLong instead.
-
getSegmentCountLong
long getSegmentCountLong(long periodDurationUs)
-
-
-
-