-
- All Implemented Interfaces:
-
com.brightcove.player.controller.SourceSelector
public final class ExoPlayerSourceSelector implements SourceSelector
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.
-
-
Method Summary
Modifier and Type Method Description Source
selectSource(@NonNull() Video video)
static boolean
canPlaySource(Source source)
Check if the device has a decoder for the given source.NOTE: The source must contain a codecs to determine if the device has a decoder. -
-
Method Detail
-
selectSource
@NonNull() Source selectSource(@NonNull() Video video)
-
canPlaySource
static boolean canPlaySource(Source source)
Check if the device has a decoder for the given source.NOTE: The source must contain a codecs to determine if the device has a decoder.
- Parameters:
source
- The source to check.
-
-
-
-