ExoPlayerSourceSelector

The default Source Selector used with ExoPlayer. It attempts selecting a DASHSource when available, or it will use selectSource otherwise.

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 canPlaySource(source: Source): Boolean
Check if the device has a decoder for the given source.
Link copied to clipboard
open fun selectSource(video: Video): Source