setPreferredTrackVariant

Activates an Elementary track matching the passed TrackVariantInfo option

Parameters

type

the TrackVariantInfo.Type of elementary stream

variantInfo

the preferred configuration option