BundledChunkExtractor.ManifestFormatMerger


interface BundledChunkExtractor.ManifestFormatMerger


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

Summary

Constants

const BundledChunkExtractor.ManifestFormatMerger!

The default manifest format merger using withManifestFormatInfo.

Public functions

Format!
merge(sampleFormat: Format!, primaryTrackManifestFormat: Format?)

Merges the sample and manifest formats.

Constants

DEFAULT

const val DEFAULTBundledChunkExtractor.ManifestFormatMerger!

The default manifest format merger using withManifestFormatInfo.

Public functions

merge

fun merge(sampleFormat: Format!, primaryTrackManifestFormat: Format?): Format!

Merges the sample and manifest formats.

Parameters
sampleFormat: Format!

The Format from extracted samples.

primaryTrackManifestFormat: Format?

The Format of the associated primary manifest.

Returns
Format!

The merged Format combining both sources of information.