Package com.brightcove.player.controller
Interface SourceSelector
-
- All Known Implementing Classes:
BrightcoveSourceSelector,DefaultSourceSelectionController,ExoPlayerSourceSelectionController,ExoPlayerSourceSelector,HlsSourceSelector,SSAISourceSelector
public interface SourceSelectorDefines methods provided by any class that allows for selection of a Source within a Video object by some set of rules or logic.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SourceselectSource(Video video)Determines best appropriate Source within given Video object based on logic implemented.
-
-
-
Method Detail
-
selectSource
@NonNull Source selectSource(@NonNull Video video) throws NoSourceFoundException
Determines best appropriate Source within given Video object based on logic implemented.- Parameters:
video- Video in which to find the most appropriate Source- Returns:
- the best matched Source based on the currently implemented selection logic
- Throws:
NoSourceFoundException- when no validSourceis found
-
-