Interface ExtractorOutput
-
- All Known Implementing Classes:
BundledChunkExtractor
,DummyExtractorOutput
,FakeExtractorOutput
,StartOffsetExtractorOutput
@Deprecated public interface ExtractorOutput
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 anExtractor
.
-
-
Field Summary
Fields Modifier and Type Field Description static ExtractorOutput
PLACEHOLDER
Deprecated.PlaceholderExtractorOutput
implementation throwing anUnsupportedOperationException
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 newtrackId
values will be passed totrack(int, int)
.void
seekMap(SeekMap seekMap)
Deprecated.Called when aSeekMap
has been extracted from the stream.TrackOutput
track(int id, @com.google.android.exoplayer2.C.TrackType int type)
Deprecated.Called by theExtractor
to get theTrackOutput
for a specific track.
-
-
-
Field Detail
-
PLACEHOLDER
static final ExtractorOutput PLACEHOLDER
Deprecated.PlaceholderExtractorOutput
implementation throwing anUnsupportedOperationException
in each method.
-
-
Method Detail
-
track
TrackOutput track(int id, @com.google.android.exoplayer2.C.TrackType int type)
Deprecated.Called by theExtractor
to get theTrackOutput
for a specific track.The same
TrackOutput
is returned if multiple calls are made with the sameid
.- Parameters:
id
- A track identifier.type
- Thetrack type
.- Returns:
- The
TrackOutput
for the given track identifier.
-
endTracks
void endTracks()
Deprecated.Called when all tracks have been identified, meaning no newtrackId
values will be passed totrack(int, int)
.
-
-