public class WebVTTTrack extends AbstractTrack
| Constructor and Description |
|---|
WebVTTTrack(DataSource dataSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
getHandler() |
SampleDescriptionBox |
getSampleDescriptionBox() |
long[] |
getSampleDurations()
Each samples is covers a small time span in a video.
|
List<Sample> |
getSamples()
The list of all samples.
|
TrackMetaData |
getTrackMetaData() |
getCompositionTimeEntries, getDuration, getEdits, getName, getSampleDependencies, getSampleGroups, getSubsampleInformationBox, getSyncSamplespublic WebVTTTrack(DataSource dataSource) throws IOException
IOExceptionpublic SampleDescriptionBox getSampleDescriptionBox()
public long[] getSampleDurations()
TrackTrack.getSamples() contains.public TrackMetaData getTrackMetaData()
public String getHandler()
public List<Sample> getSamples()
Trackpublic void close()
throws IOException
IOExceptionCopyright © 2015. All rights reserved.