Package com.brightcove.player.controller
Interface SourceSelector
- All Known Implementing Classes:
BrightcoveSourceSelector,DefaultSourceSelectionController,ExoPlayerSourceSelectionController,ExoPlayerSourceSelector,HlsSourceSelector,SSAISourceSelector
public interface SourceSelector
Defines 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
Modifier and TypeMethodDescriptionselectSource(Video video) Determines best appropriate Source within given Video object based on logic implemented.
-
Method Details
-
selectSource
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
-