Class DefaultDashChunkSource.RepresentationSegmentIterator

    • Constructor Detail

      • RepresentationSegmentIterator

        public RepresentationSegmentIterator​(DefaultDashChunkSource.RepresentationHolder representation,
                                             long firstAvailableSegmentNum,
                                             long lastAvailableSegmentNum,
                                             long nowPeriodTimeUs)
        Creates iterator.
        Parameters:
        representation - The DefaultDashChunkSource.RepresentationHolder to wrap.
        firstAvailableSegmentNum - The number of the first available segment.
        lastAvailableSegmentNum - The number of the last available segment.
        nowPeriodTimeUs - The current time in microseconds since the start of the period used for calculating if segments are available at full network speed.
    • Method Detail

      • getChunkStartTimeUs

        public long getChunkStartTimeUs()
        Description copied from interface: MediaChunkIterator
        Returns the media start time of the chunk, in microseconds.
      • getChunkEndTimeUs

        public long getChunkEndTimeUs()
        Description copied from interface: MediaChunkIterator
        Returns the media end time of the chunk, in microseconds.