MediaParserExtractorAdapter.Factory


class MediaParserExtractorAdapter.Factory : ProgressiveMediaExtractor.Factory


A ProgressiveMediaExtractor.Factory for instances of .

Summary

Public constructors

Public functions

MediaParserExtractorAdapter!

Returns a new ProgressiveMediaExtractor instance.

Unit

Enables constant bitrate seeking for formats where it's supported by MediaParser.

Public constructors

Factory

Factory()

Public functions

createProgressiveMediaExtractor

fun createProgressiveMediaExtractor(playerId: PlayerId!): MediaParserExtractorAdapter!

Returns a new ProgressiveMediaExtractor instance.

Parameters
playerId: PlayerId!

The PlayerId of the player this extractor is used for.

setConstantBitrateSeekingEnabled

fun setConstantBitrateSeekingEnabled(enabled: Boolean): Unit

Enables constant bitrate seeking for formats where it's supported by MediaParser.