Class: shaka.util.ManifestFilter

Constructor

new ManifestFilter()

Source:

Methods

filterByDrmSupport(manifest, drmEnginenon-null)

Filter the variants in |manifest| to only include those that are supported by |drm|.
Parameters:
Name Type Description
manifest shaka.extern.Manifest
drmEngine shaka.media.DrmEngine
Source:

filterByMediaSourceSupport(manifest)

Filter the variants in the |manifest| to only include those that are supported by media source.
Parameters:
Name Type Description
manifest shaka.extern.Manifest
Source:

filterByRestrictions(manifest, restrictions, maxHwResolution)

Filter the variants in |manifest| to only include the variants that meet the given restrictions.
Parameters:
Name Type Description
manifest shaka.extern.Manifest
restrictions shaka.extern.Restrictions
maxHwResolution {width: number, height:number}
Source: