Back to Exoplayer

ExtractorOutput (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/extractor/ExtractorOutput.html

latest4.2 KB
Original Source

Package com.google.android.exoplayer2.extractor

Interface ExtractorOutput

  • All Known Implementing Classes:BundledChunkExtractor, DummyExtractorOutput, FakeExtractorOutput, StartOffsetExtractorOutput

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public interfaceExtractorOutput

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

Receives stream level data extracted by an Extractor.

Field Summary

Fields | Modifier and Type | Field | Description | | --- | --- | --- | | static ExtractorOutput | PLACEHOLDER | Deprecated.

Placeholder ExtractorOutput implementation throwing an UnsupportedOperationException in each method. |

Method Summary

All Methods Instance Methods Abstract Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | endTracks() | Deprecated.

Called when all tracks have been identified, meaning no new trackId values will be passed to track(int, int). | | void | seekMap​(SeekMap seekMap) | Deprecated.

Called when a SeekMap has been extracted from the stream. | | TrackOutput | track​(int id, @com.google.android.exoplayer2.C.TrackType int type) | Deprecated.

Called by the Extractor to get the TrackOutput for a specific track. |

Field Detail

- 

PLACEHOLDER

static final[ExtractorOutput](ExtractorOutput.html "interface in com.google.android.exoplayer2.extractor")PLACEHOLDER

Deprecated.

Placeholder ExtractorOutput implementation throwing an UnsupportedOperationException in each method.

Method Detail

- 

track

[TrackOutput](TrackOutput.html "interface in com.google.android.exoplayer2.extractor")track​(int id,
                  @com.google.android.exoplayer2.C.TrackType int type)

Deprecated.

Called by the Extractor to get the TrackOutput for a specific track.

The same TrackOutput is returned if multiple calls are made with the same id.

Parameters:id - A track identifier.type - The track type.Returns:The TrackOutput for the given track identifier.

- 

endTracks

void endTracks()

Deprecated.

Called when all tracks have been identified, meaning no new trackId values will be passed to track(int, int).

- 

seekMap

void seekMap​([SeekMap](SeekMap.html "interface in com.google.android.exoplayer2.extractor")seekMap)

Deprecated.

Called when a SeekMap has been extracted from the stream. Parameters:seekMap - The extracted SeekMap.