HlsSourceSelector

The HLS Source Selector navigates the Video Source Collection and selects an HLS source. Selects the higher HLS version available in the SourceCollection retrieved with


source.getProperties().get(Source.Fields.EXT_X_VERSION)
It selects HTTPS if available.

This selector prioritize HEVC sources for Android API level 21 and higher.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun selectSource(video: Video): Source
Determines best appropriate Source within given Video object based on logic implemented.