Interface StreamingTrack

    • Method Detail

      • getTimescale

        long getTimescale()
        Gets the time scale of the track. Typically called by the SampleSink. Might throw IllegalStateException if called before the first sample has been pushed into the SampleSink.
        Returns:
        the track's time scale
      • getHandler

        String getHandler()
      • getLanguage

        String getLanguage()
      • setSampleSink

        void setSampleSink​(SampleSink sampleSink)
        All implementing classes must make sure the all generated samples are pushed to the sampleSink. When a sample is pushed all methods must yield valid results.
        Parameters:
        sampleSink - the sink for all generated samples.
      • addTrackExtension

        void addTrackExtension​(TrackExtension trackExtension)