ExtractorOutput
@UnstableApi
public interface ExtractorOutput
BundledChunkExtractor |
|
DummyExtractorOutput |
This class is deprecated. Use |
FakeExtractorOutput |
A fake |
ForwardingExtractorOutput |
An overridable |
NoOpExtractorOutput |
An |
SubtitleTranscodingExtractorOutput |
A wrapping |
Receives stream level data extracted by an Extractor.
Summary
Constants |
|
|---|---|
default static final ExtractorOutput |
Placeholder |
Public methods |
|
|---|---|
abstract void |
Called when all tracks have been identified, meaning no new |
abstract void |
Called when a |
abstract TrackOutput |
track(int id, @C.TrackType int type)Called by the |
Constants
PLACEHOLDER
default static final ExtractorOutput PLACEHOLDER
Placeholder ExtractorOutput implementation throwing an UnsupportedOperationException in each method.
Public methods
endTracks
abstract void endTracks()
Called when all tracks have been identified, meaning no new trackId values will be passed to track.
seekMap
abstract void seekMap(SeekMap seekMap)
Called when a SeekMap has been extracted from the stream.
track
abstract TrackOutput track(int id, @C.TrackType int type)
Called by the Extractor to get the TrackOutput for a specific track.
The same TrackOutput is returned if multiple calls are made with the same
id.
| Parameters | |
|---|---|
int id |
A track identifier. |
@C.TrackType int type |
The |
| Returns | |
|---|---|
TrackOutput |
The |