Class BaseMediaChunkOutput

    • Constructor Detail

      • BaseMediaChunkOutput

        public BaseMediaChunkOutput​(int[] trackTypes,
                                    SampleQueue[] sampleQueues)
        Parameters:
        trackTypes - The track types of the individual track outputs.
        sampleQueues - The individual sample queues.
    • Method Detail

      • getWriteIndices

        public int[] getWriteIndices()
        Returns the current absolute write indices of the individual sample queues.
      • setSampleOffsetUs

        public void setSampleOffsetUs​(long sampleOffsetUs)
        Sets an offset that will be added to the timestamps (and sub-sample timestamps) of samples subsequently written to the sample queues.