Interface ChunkExtractor.Factory
-
- Enclosing interface:
- ChunkExtractor
public static interface ChunkExtractor.Factory
CreatesChunkExtractor
instances.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChunkExtractor
createProgressiveMediaExtractor(@com.google.android.exoplayer2.C.TrackType int primaryTrackType, Format representationFormat, boolean enableEventMessageTrack, List<Format> closedCaptionFormats, TrackOutput playerEmsgTrackOutput, PlayerId playerId)
Returns a newChunkExtractor
instance.
-
-
-
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 newChunkExtractor
instance.- Parameters:
primaryTrackType
- Thetype
of the primary track.representationFormat
- The format of the representation to extract from.enableEventMessageTrack
- Whether to enable the event message track.closedCaptionFormats
- TheFormats
of the Closed-Caption tracks.playerEmsgTrackOutput
- TheTrackOutput
for extracted EMSG messages, or null.playerId
- ThePlayerId
of the player using this chunk extractor.- Returns:
- A new
ChunkExtractor
instance, or null if not applicable.
-
-