public class CencMp4TrackImplImpl extends Mp4TrackImpl implements CencEncryptedTrack
| Constructor and Description |
|---|
CencMp4TrackImplImpl(long trackId,
Container isofile,
RandomAccessSource randomAccess,
String name)
Creates a track from a TrackBox and potentially fragments.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
A name for identification purposes.
|
List<CencSampleAuxiliaryDataFormat> |
getSampleEncryptionEntries() |
boolean |
hasSubSampleEncryption() |
String |
toString() |
close, getCompositionTimeEntries, getHandler, getSampleDependencies, getSampleDurations, getSampleEntries, getSamples, getSubsampleInformationBox, getSyncSamples, getTrackMetaDatagetDuration, getEdits, getSampleGroupsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCompositionTimeEntries, getDuration, getEdits, getHandler, getSampleDependencies, getSampleDurations, getSampleEntries, getSampleGroups, getSamples, getSubsampleInformationBox, getSyncSamples, getTrackMetaDatapublic CencMp4TrackImplImpl(long trackId,
Container isofile,
RandomAccessSource randomAccess,
String name)
throws IOException
trackId - ID of the track to extractisofile - the parsed MP4 filerandomAccess - the RandomAccessSource to read the samples fromname - an arbitrary naem to identify track later - e.g. filenameIOException - if reading from underlying DataSource failspublic boolean hasSubSampleEncryption()
hasSubSampleEncryption in interface CencEncryptedTrackpublic List<CencSampleAuxiliaryDataFormat> getSampleEncryptionEntries()
getSampleEncryptionEntries in interface CencEncryptedTrackpublic String getName()
TrackgetName in interface TrackgetName in class AbstractTrackCopyright © 2019. All rights reserved.