public class CencMp4TrackImplImpl extends Mp4TrackImpl implements CencEncryptedTrack
Constructor and Description |
---|
CencMp4TrackImplImpl(String name,
TrackBox trackBox,
IsoFile... fragments)
Creates a track from a TrackBox and potentially fragments.
|
Modifier and Type | Method and Description |
---|---|
UUID |
getDefaultKeyId() |
String |
getName()
A name for identification purposes.
|
List<CencSampleAuxiliaryDataFormat> |
getSampleEncryptionEntries() |
boolean |
hasSubSampleEncryption() |
String |
toString() |
close, getCompositionTimeEntries, getHandler, getSampleDependencies, getSampleDescriptionBox, getSampleDurations, getSamples, getSubsampleInformationBox, getSyncSamples, getTrackMetaData
getDuration, getEdits, getSampleGroups
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCompositionTimeEntries, getDuration, getEdits, getHandler, getSampleDependencies, getSampleDescriptionBox, getSampleDurations, getSampleGroups, getSamples, getSubsampleInformationBox, getSyncSamples, getTrackMetaData
public CencMp4TrackImplImpl(String name, TrackBox trackBox, IsoFile... fragments) throws IOException
name
- a name for the track for better identificationtrackBox
- the TrackBox
describing the track.fragments
- additional fragments if located in more than a single fileIOException
- if reading from underlying DataSource
failspublic UUID getDefaultKeyId()
getDefaultKeyId
in interface CencEncryptedTrack
public boolean hasSubSampleEncryption()
hasSubSampleEncryption
in interface CencEncryptedTrack
public List<CencSampleAuxiliaryDataFormat> getSampleEncryptionEntries()
getSampleEncryptionEntries
in interface CencEncryptedTrack
public String getName()
Track
getName
in interface Track
getName
in class AbstractTrack
Copyright © 2014. All rights reserved.