Interface ExtractorOutput
-
- All Known Implementing Classes:
BundledChunkExtractor
,DummyExtractorOutput
,FakeExtractorOutput
,StartOffsetExtractorOutput
public interface ExtractorOutput
Receives stream level data extracted by anExtractor
.
-
-
Field Summary
Fields Modifier and Type Field Description static ExtractorOutput
PLACEHOLDER
PlaceholderExtractorOutput
implementation throwing anUnsupportedOperationException
in each method.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
endTracks()
Called when all tracks have been identified, meaning no newtrackId
values will be passed totrack(int, int)
.void
seekMap(SeekMap seekMap)
Called when aSeekMap
has been extracted from the stream.TrackOutput
track(int id, @com.google.android.exoplayer2.C.TrackType int type)
Called by theExtractor
to get theTrackOutput
for a specific track.
-
-
-
Field Detail
-
PLACEHOLDER
static final ExtractorOutput PLACEHOLDER
PlaceholderExtractorOutput
implementation throwing anUnsupportedOperationException
in each method.
-
-
Method Detail
-
track
TrackOutput track(int id, @com.google.android.exoplayer2.C.TrackType int type)
Called by theExtractor
to get theTrackOutput
for a specific track.The same
TrackOutput
is returned if multiple calls are made with the sameid
.- Parameters:
id
- A track identifier.type
- Thetrack type
.- Returns:
- The
TrackOutput
for the given track identifier.
-
endTracks
void endTracks()
Called when all tracks have been identified, meaning no newtrackId
values will be passed totrack(int, int)
.
-
-