BundledChunkExtractor.ManifestFormatMerger


public interface BundledChunkExtractor.ManifestFormatMerger


Interface for merging Format instances from the extracted samples and the manifest.

Summary

Constants

default static final BundledChunkExtractor.ManifestFormatMerger

The default manifest format merger using withManifestFormatInfo.

Public methods

abstract Format
merge(Format sampleFormat, @Nullable Format primaryTrackManifestFormat)

Merges the sample and manifest formats.

Constants

DEFAULT

default static final BundledChunkExtractor.ManifestFormatMerger DEFAULT

The default manifest format merger using withManifestFormatInfo.

Public methods

merge

abstract Format merge(Format sampleFormat, @Nullable Format primaryTrackManifestFormat)

Merges the sample and manifest formats.

Parameters
Format sampleFormat

The Format from extracted samples.

@Nullable Format primaryTrackManifestFormat

The Format of the associated primary manifest.

Returns
Format

The merged Format combining both sources of information.