ForwardingExtractorOutput
@UnstableApi
public class ForwardingExtractorOutput implements ExtractorOutput
An overridable ExtractorOutput implementation which forwards all methods to another ExtractorOutput.
Summary
Public constructors |
|---|
Public methods |
|
|---|---|
void |
Called when all tracks have been identified, meaning no new |
void |
Called when a |
TrackOutput |
track(int id, @C.TrackType int type)Called by the |
Inherited Constants |
||
|---|---|---|
|
Public constructors
Public methods
endTracks
public void endTracks()
Called when all tracks have been identified, meaning no new trackId values will be passed to track.
seekMap
public void seekMap(SeekMap seekMap)
Called when a SeekMap has been extracted from the stream.
track
public 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 |