Constructor
new ExampleBasedCriteria(example)
Parameters:
Name | Type | Description |
---|---|---|
example |
shaka.extern.Variant |
- Implements:
- Source:
Members
(private) example_ :shaka.extern.Variant
Type:
(private, non-null) fallback_ :shaka.media.AdaptationSetCriteria
Type:
Methods
create(variantsnon-null) → (non-null) {shaka.media.AdaptationSet}
Take a set of variants, and return a subset of variants that can be
adapted between.
Parameters:
Name | Type | Description |
---|---|---|
variants |
Array.<shaka.extern.Variant> |
- Implements:
- Source: