Package 

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)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 become
        initializationTemplate - 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