Interface ExtractorOutput
-
- All Known Implementing Classes:
BundledChunkExtractor,DummyExtractorOutput,FakeExtractorOutput,StartOffsetExtractorOutput
public interface ExtractorOutputReceives stream level data extracted by anExtractor.
-
-
Field Summary
Fields Modifier and Type Field Description static ExtractorOutputPLACEHOLDERPlaceholderExtractorOutputimplementation throwing anUnsupportedOperationExceptionin each method.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidendTracks()Called when all tracks have been identified, meaning no newtrackIdvalues will be passed totrack(int, int).voidseekMap(SeekMap seekMap)Called when aSeekMaphas been extracted from the stream.TrackOutputtrack(int id, @com.google.android.exoplayer2.C.TrackType int type)Called by theExtractorto get theTrackOutputfor a specific track.
-
-
-
Field Detail
-
PLACEHOLDER
static final ExtractorOutput PLACEHOLDER
PlaceholderExtractorOutputimplementation throwing anUnsupportedOperationExceptionin each method.
-
-
Method Detail
-
track
TrackOutput track(int id, @com.google.android.exoplayer2.C.TrackType int type)
Called by theExtractorto get theTrackOutputfor a specific track.The same
TrackOutputis returned if multiple calls are made with the sameid.- Parameters:
id- A track identifier.type- Thetrack type.- Returns:
- The
TrackOutputfor the given track identifier.
-
endTracks
void endTracks()
Called when all tracks have been identified, meaning no newtrackIdvalues will be passed totrack(int, int).
-
-