Interface ChunkExtractor.TrackOutputProvider
-
- All Known Implementing Classes:
BaseMediaChunkOutput
- Enclosing interface:
- ChunkExtractor
public static interface ChunkExtractor.TrackOutputProviderProvidesTrackOutputinstances to be written to during extraction.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TrackOutputtrack(int id, @com.google.android.exoplayer2.C.TrackType int type)Called to get theTrackOutputfor a specific track.
-
-
-
Method Detail
-
track
TrackOutput track(int id, @com.google.android.exoplayer2.C.TrackType int type)
Called to get theTrackOutputfor a specific track.The same
TrackOutputis returned if multiple calls are made with the sameid.- Parameters:
id- A track identifier.type- Thetypeof the track.- Returns:
- The
TrackOutputfor the given track identifier.
-
-