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, waitgetManifestprotected long[] audioFragmentsDurations
protected long[] videoFragmentsDurations
protected AbstractManifestWriter(FragmentIntersectionFinder intersectionFinder)
public long[] calculateFragmentDurations(Track track, Movie movie)
track (as part of movie).calculateFragmentDurations in interface ManifestWritertrack - target of calculationmovie - the track must be part of this moviepublic long getBitrate(Track track)
getBitrate in interface ManifestWriterprotected long[] checkFragmentsAlign(long[] referenceTimes,
long[] checkTimes)
throws IOException
IOExceptionprotected String getFormat(AbstractSampleEntry se)
Copyright © 2014. All rights reserved.