Class FakeAdaptiveDataSet


  • public final class FakeAdaptiveDataSet
    extends FakeDataSet
    Fake data set emulating the data of an adaptive media source. It provides chunk data for all Formats in the given TrackGroup.
    • Method Detail

      • getChunkCount

        public int getChunkCount()
      • getUri

        public String getUri​(int trackIndex)
      • getChunkDuration

        public long getChunkDuration​(int chunkIndex)
      • getStartTime

        public long getStartTime​(int chunkIndex)
      • getChunkIndexByPosition

        public int getChunkIndexByPosition​(long positionUs)