Interface ChunkExtractor.Factory
-
- Enclosing interface:
- ChunkExtractor
public static interface ChunkExtractor.FactoryCreatesChunkExtractorinstances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChunkExtractorcreateProgressiveMediaExtractor(@com.google.android.exoplayer2.C.TrackType int primaryTrackType, Format representationFormat, boolean enableEventMessageTrack, List<Format> closedCaptionFormats, TrackOutput playerEmsgTrackOutput, PlayerId playerId)Returns a newChunkExtractorinstance.
-
-
-
Method Detail
-
createProgressiveMediaExtractor
@Nullable ChunkExtractor createProgressiveMediaExtractor(@com.google.android.exoplayer2.C.TrackType int primaryTrackType, Format representationFormat, boolean enableEventMessageTrack, List<Format> closedCaptionFormats, @Nullable TrackOutput playerEmsgTrackOutput, PlayerId playerId)
Returns a newChunkExtractorinstance.- Parameters:
primaryTrackType- Thetypeof the primary track.representationFormat- The format of the representation to extract from.enableEventMessageTrack- Whether to enable the event message track.closedCaptionFormats- TheFormatsof the Closed-Caption tracks.playerEmsgTrackOutput- TheTrackOutputfor extracted EMSG messages, or null.playerId- ThePlayerIdof the player using this chunk extractor.- Returns:
- A new
ChunkExtractorinstance, or null if not applicable.
-
-