public interface

SsChunkSource.Factory

 androidx.media3.exoplayer.smoothstreaming.SsChunkSource.Factory

Subclasses:

DefaultSsChunkSource.Factory

Overview

Factory for SsChunkSources.

Summary

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

Creates a new SsChunkSource.

Methods

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

Creates a new SsChunkSource.

Parameters:

manifestLoaderErrorThrower: Throws errors affecting loading of manifests.
manifest: The initial manifest.
streamElementIndex: The index of the corresponding stream element in the manifest.
trackSelection: The track selection.
transferListener: The transfer listener which should be informed of any data transfers. May be null if no listener is available.

Returns:

The created SsChunkSource.