Interface MediaChunkIterator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static MediaChunkIterator EMPTY
      Deprecated.
      An empty media chunk iterator without available data.
    • Field Detail

      • EMPTY

        static final MediaChunkIterator EMPTY
        Deprecated.
        An empty media chunk iterator without available data.
    • Method Detail

      • isEnded

        boolean isEnded()
        Deprecated.
        Returns whether the iteration has reached the end of the available data.
      • next

        boolean next()
        Deprecated.
        Moves the iterator to the next media chunk.

        Check the return value or isEnded() to determine whether the iterator reached the end of the available data.

        Returns:
        Whether the iterator points to a media chunk with available data.
      • getChunkStartTimeUs

        long getChunkStartTimeUs()
        Deprecated.
        Returns the media start time of the chunk, in microseconds.
        Throws:
        NoSuchElementException - If the method is called before the first call to next() or when isEnded() is true.
      • getChunkEndTimeUs

        long getChunkEndTimeUs()
        Deprecated.
        Returns the media end time of the chunk, in microseconds.
        Throws:
        NoSuchElementException - If the method is called before the first call to next() or when isEnded() is true.
      • reset

        void reset()
        Deprecated.
        Resets the iterator to the initial position.