FilterTrackPropertyCondition – Media API – MediaKind
FilterTrackPropertyCondition
object
operation
enum Required
Set to either 'Equal' or 'NotEqual'. Tracks matching this predicate will be included.
Examples:
To include all audio tracks, set operation to 'Equal', property to 'Type', and value to 'Audio'.
Allowed values: Equal, NotEqual
property
enum Required
The property to match against. Supported properties include:
Bitrate
FourCC
Language
Name
Type
Unknown
Bitrate may be provided as a single numeric value '100000' or as a range '500000-1000000'.
FourCC is the codec, and may be one of 'avc1', 'hev1', and 'hvc1' for video, or one of 'mp4a' and 'ec-3' for audio.
Language is the value of a language tag to include, as specified in RFC 5646.
Name is the name of the track as specified in the manifest.
Type is one of either 'video', 'audio', or 'text'.
Allowed values: Unknown, Type, Name, Language, FourCC, Bitrate
value
string Required
The value to match against. Values are not case-sensitive.