public interface

ChunkExtractor.TrackOutputProvider

 androidx.media3.exoplayer.source.chunk.ChunkExtractor.TrackOutputProvider

Subclasses:

BaseMediaChunkOutput

Overview

Provides TrackOutput instances to be written to during extraction.

Summary

Methods
public TrackOutputtrack(int id, int type)

Called to get the TrackOutput for a specific track.

Methods

public TrackOutput track(int id, int type)

Called 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 of the track.

Returns:

The TrackOutput for the given track identifier.