public final class

DefaultSsChunkSource.Factory

extends java.lang.Object

implements SsChunkSource.Factory

 java.lang.Object

↳androidx.media3.exoplayer.smoothstreaming.DefaultSsChunkSource.Factory

Summary

Constructors
publicFactory(DataSource.Factory dataSourceFactory)

Methods
public SsChunkSourcecreateChunkSource(LoaderErrorThrower manifestLoaderErrorThrower, SsManifest manifest, int streamElementIndex, ExoTrackSelection trackSelection, TransferListener transferListener, CmcdConfiguration cmcdConfiguration)

public DefaultSsChunkSource.FactoryexperimentalParseSubtitlesDuringExtraction(boolean parseSubtitlesDuringExtraction)

public FormatgetOutputTextFormat(Format sourceFormat)

public DefaultSsChunkSource.FactorysetSubtitleParserFactory(SubtitleParser.Factory subtitleParserFactory)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public Factory(DataSource.Factory dataSourceFactory)

Methods

public DefaultSsChunkSource.Factory setSubtitleParserFactory(SubtitleParser.Factory subtitleParserFactory)

public DefaultSsChunkSource.Factory experimentalParseSubtitlesDuringExtraction(boolean parseSubtitlesDuringExtraction)

public Format getOutputTextFormat(Format sourceFormat)

This implementation performs transcoding of the original format to MimeTypes.APPLICATION_MEDIA3_CUES if it is supported by .

public SsChunkSource createChunkSource(LoaderErrorThrower manifestLoaderErrorThrower, SsManifest manifest, int streamElementIndex, ExoTrackSelection trackSelection, TransferListener transferListener, CmcdConfiguration cmcdConfiguration)