ChunkExtractor.TrackOutputProvider


public interface ChunkExtractor.TrackOutputProvider

Known direct subclasses
BaseMediaChunkOutput

A TrackOutputProvider that provides TrackOutputs based on a predefined mapping from track type to output.


Provides TrackOutput instances to be written to during extraction.

Summary

Public methods

abstract TrackOutput
track(int id, @C.TrackType int type)

Called to get the TrackOutput for a specific track.

Public methods

track

abstract TrackOutput track(int id, @C.TrackType 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
int id

A track identifier.

@C.TrackType int type

The type of the track.

Returns
TrackOutput

The TrackOutput for the given track identifier.