ExtractorOutput
@UnstableApi
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 |
|
|---|---|
const ExtractorOutput! |
Placeholder |
Public functions |
|
|---|---|
Unit |
Called when all tracks have been identified, meaning no new |
Unit |
Called when a |
TrackOutput! |
track(id: Int, @C.TrackType type: Int)Called by the |
Constants
PLACEHOLDER
const val PLACEHOLDER: ExtractorOutput!
Placeholder ExtractorOutput implementation throwing an UnsupportedOperationException in each method.
Public functions
endTracks
fun endTracks(): Unit
Called when all tracks have been identified, meaning no new trackId values will be passed to track.
seekMap
fun seekMap(seekMap: SeekMap!): Unit
Called when a SeekMap has been extracted from the stream.
track
fun track(id: Int, @C.TrackType type: Int): TrackOutput!
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 | |
|---|---|
id: Int |
A track identifier. |
@C.TrackType type: Int |
The |
| Returns | |
|---|---|
TrackOutput! |
The |