public abstract class AbstractManifestWriter extends Object implements ManifestWriter
Modifier and Type | Field and Description |
---|---|
protected long[] |
audioFragmentsDurations |
protected long[] |
videoFragmentsDurations |
Modifier | Constructor and Description |
---|---|
protected |
AbstractManifestWriter(FragmentIntersectionFinder intersectionFinder) |
Modifier and Type | Method and Description |
---|---|
long[] |
calculateFragmentDurations(Track track,
Movie movie)
Calculates the length of each fragment in the given
track (as part of movie ). |
protected long[] |
checkFragmentsAlign(long[] referenceTimes,
long[] checkTimes) |
long |
getBitrate(Track track) |
protected String |
getFormat(AbstractSampleEntry se) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getManifest
protected long[] audioFragmentsDurations
protected long[] videoFragmentsDurations
protected AbstractManifestWriter(FragmentIntersectionFinder intersectionFinder)
public long[] calculateFragmentDurations(Track track, Movie movie)
track
(as part of movie
).calculateFragmentDurations
in interface ManifestWriter
track
- target of calculationmovie
- the track
must be part of this movie
public long getBitrate(Track track)
getBitrate
in interface ManifestWriter
protected long[] checkFragmentsAlign(long[] referenceTimes, long[] checkTimes) throws IOException
IOException
protected String getFormat(AbstractSampleEntry se)
Copyright © 2014. All rights reserved.