docs/doc/reference/com/google/android/exoplayer2/source/chunk/ChunkExtractor.Factory.html
Package com.google.android.exoplayer2.source.chunk
public static interfaceChunkExtractor.Factory
Creates ChunkExtractor instances.
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 new ChunkExtractor instance.
|
-
@Nullable[ChunkExtractor](ChunkExtractor.html "interface in com.google.android.exoplayer2.source.chunk")createProgressiveMediaExtractor(@com.google.android.exoplayer2.C.TrackType int primaryTrackType,[Format](../../Format.html "class in com.google.android.exoplayer2")representationFormat,
boolean enableEventMessageTrack,[List](https://developer.android.com/reference/java/util/List.html "class or interface in java.util")<[Format](../../Format.html "class in com.google.android.exoplayer2")> closedCaptionFormats,
@Nullable[TrackOutput](../../extractor/TrackOutput.html "interface in com.google.android.exoplayer2.extractor")playerEmsgTrackOutput,[PlayerId](../../analytics/PlayerId.html "class in com.google.android.exoplayer2.analytics")playerId)
Returns a new ChunkExtractor instance.
Parameters:primaryTrackType - The type of the primary track.representationFormat - The format of the representation to extract from.enableEventMessageTrack - Whether to enable the event message track.closedCaptionFormats - The Formats of the Closed-Caption tracks.playerEmsgTrackOutput - The TrackOutput for extracted EMSG messages, or null.playerId - The PlayerId of the player using this chunk extractor.Returns:A new ChunkExtractor instance, or null if not applicable.