UpdatedDefaultExtractorsFactory

An ExtractorsFactory that provides an array of extractors for the following formats:

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun createExtractors(uri: Uri, responseHeaders: Map<String, List<String>>): Array<Extractor>
Link copied to clipboard

Sets flags for AdtsExtractor instances created by the factory.

Link copied to clipboard

Sets flags for AmrExtractor instances created by the factory.

Link copied to clipboard

Convenience method to set whether approximate seeking using constant bitrate assumptions should be enabled for all extractors that support it, and if it should be enabled even if the content length (and hence the duration of the media) is unknown. If set to true, the flags required to enable this functionality will be OR'd with those passed to the setters when creating extractor instances. If set to false then the flags passed to the setters will be used without modification.

Link copied to clipboard

Convenience method to set whether approximate seeking using constant bitrate assumptions should be enabled for all extractors that support it. If set to true, the flags required to enable this functionality will be OR'd with those passed to the setters when creating extractor instances. If set to false then the flags passed to the setters will be used without modification.

Link copied to clipboard

Sets flags for FlacExtractor instances created by the factory. The flags are also used by androidx.media3.decoder.flac.FlacExtractor instances if the FLAC extension is being used.

Link copied to clipboard

Sets flags for JpegExtractor instances created by the factory.

Link copied to clipboard

Sets flags for Mp3Extractor instances created by the factory.

Link copied to clipboard

Sets flags for Mp4Extractor instances created by the factory.

Link copied to clipboard
Link copied to clipboard

Sets the mode for TsExtractor instances created by the factory.

Link copied to clipboard

Sets the number of bytes searched to find a timestamp for TsExtractor instances created by the factory.

Link copied to clipboard

Sets a list of subtitle formats to pass to the DefaultTsPayloadReaderFactory used by TsExtractor instances created by the factory.