Class CencMp4TrackImplImpl

    • Constructor Detail

      • CencMp4TrackImplImpl

        public CencMp4TrackImplImpl​(long trackId,
                                    Container isofile,
                                    RandomAccessSource randomAccess,
                                    String name)
                             throws IOException
        Creates a track from a TrackBox and potentially fragments. Use fragements parameter only to supply additional fragments that are not located in the main file.
        Parameters:
        trackId - ID of the track to extract
        isofile - the parsed MP4 file
        randomAccess - the RandomAccessSource to read the samples from
        name - an arbitrary naem to identify track later - e.g. filename
        Throws:
        IOException - if reading from underlying DataSource fails