Class: shaka.util.ManifestFilter.VariantCodecSummarySet

Constructor

new VariantCodecSummarySet()

Source:

Members

Methods

(static) fromVariants(variantsnon-null) → (non-null) {shaka.util.ManifestFilter.VariantCodecSummarySet}

Create a set of variant codec summaries for a list of variants. The set may have fewer elements than the list if there are variants with similar codecs.
Parameters:
Name Type Description
variants Array.<shaka.extern.Variant>
Source:
Returns:
Type
shaka.util.ManifestFilter.VariantCodecSummarySet

add(summarynon-null)

Parameters:
Name Type Description
summary shaka.util.ManifestFilter.VariantCodecSummary
Source:

contains(summarynon-null) → {boolean}

Parameters:
Name Type Description
summary shaka.util.ManifestFilter.VariantCodecSummary
Source:
Returns:
Type
boolean

includeAll(othernon-null)

Add all items from |other| to |this|.
Parameters:
Name Type Description
other shaka.util.ManifestFilter.VariantCodecSummarySet
Source:

onlyKeep(othernon-null)

Remove all items from |this| that are not in |other|.
Parameters:
Name Type Description
other shaka.util.ManifestFilter.VariantCodecSummarySet
Source: