Interface ChunkExtractor.TrackOutputProvider
-
- All Known Implementing Classes:
BaseMediaChunkOutput
- Enclosing interface:
- ChunkExtractor
public static interface ChunkExtractor.TrackOutputProvider
ProvidesTrackOutput
instances to be written to during extraction.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrackOutput
track(int id, @com.google.android.exoplayer2.C.TrackType int type)
Called to get theTrackOutput
for a specific track.
-
-
-
Method Detail
-
track
TrackOutput track(int id, @com.google.android.exoplayer2.C.TrackType int type)
Called 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
- Thetype
of the track.- Returns:
- The
TrackOutput
for the given track identifier.
-
-