public final class ExoPlayerSourceSelector extends java.lang.Object implements SourceSelector
DeliveryType.DASH Source when available,
or it will use BrightcoveSourceSelector.selectSource(Video) otherwise.
This selector prioritize HEVC sources for Android API level 21 and higher.
| Constructor and Description |
|---|
ExoPlayerSourceSelector() |
| Modifier and Type | Method and Description |
|---|---|
Source |
selectSource(Video video)
Determines best appropriate Source within given Video object based on logic implemented.
|
@NonNull public Source selectSource(@NonNull Video video) throws NoSourceFoundException
selectSource in interface SourceSelectorvideo - Video in which to find the most appropriate Sourcejava.lang.IllegalArgumentException - when the Video passed is nullNoSourceFoundException - when no valid Source is found