setPreferHls

open fun setPreferHls(preferHls: Boolean)

Sets whether to prefer HLS sources to other delivery types. By default, this will be true if running on a device with API level greater than or equal to ICE_CREAM_SANDWICH.

Parameters

preferHls

true if HLS is preferred.