ChunkExtractor.TrackOutputProvider


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 functions

TrackOutput!
track(id: Int, @C.TrackType type: Int)

Called to get the TrackOutput for a specific track.

Public functions

track

fun track(id: Int, @C.TrackType type: Int): TrackOutput!

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: Int

A track identifier.

@C.TrackType type: Int

The type of the track.

Returns
TrackOutput!

The TrackOutput for the given track identifier.