MediaParserExtractorAdapter.Factory


public final class MediaParserExtractorAdapter.Factory implements ProgressiveMediaExtractor.Factory


A ProgressiveMediaExtractor.Factory for instances of .

Summary

Public constructors

Public methods

MediaParserExtractorAdapter

Returns a new ProgressiveMediaExtractor instance.

void

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

Public constructors

Factory

public Factory()

Public methods

createProgressiveMediaExtractor

public MediaParserExtractorAdapter createProgressiveMediaExtractor(PlayerId playerId)

Returns a new ProgressiveMediaExtractor instance.

Parameters
PlayerId playerId

The PlayerId of the player this extractor is used for.

setConstantBitrateSeekingEnabled

public void setConstantBitrateSeekingEnabled(boolean enabled)

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