Package com.brightcove.player.controller
Class ExoPlayerSourceSelectionController
java.lang.Object
com.brightcove.player.event.AbstractComponent
com.brightcove.player.controller.DefaultSourceSelectionController
com.brightcove.player.controller.ExoPlayerSourceSelectionController
- All Implemented Interfaces:
SourceSelector,Component
@Deprecated
public class ExoPlayerSourceSelectionController
extends DefaultSourceSelectionController
Deprecated.
-
Field Summary
Fields inherited from class com.brightcove.player.controller.DefaultSourceSelectionController
TAGFields inherited from class com.brightcove.player.event.AbstractComponent
eventEmitter, listenerTokens -
Constructor Summary
ConstructorsConstructorDescriptionExoPlayerSourceSelectionController(EventEmitter eventEmitter) Deprecated.Initializes this controller with the given EventEmitter. -
Method Summary
Modifier and TypeMethodDescriptionselectSource(Video video) Deprecated.Determines best appropriate Source within given Video object based on logic implemented.Methods inherited from class com.brightcove.player.controller.DefaultSourceSelectionController
create, createWithSourceSelector, findBestSourceByBitRate, getSourceSelector, initializeListeners, selectSource, setSourceSelectorMethods inherited from class com.brightcove.player.event.AbstractComponent
addListener, addOnceListener, getEventEmitter, removeListener, removeListeners
-
Constructor Details
-
ExoPlayerSourceSelectionController
Deprecated.Initializes this controller with the given EventEmitter.- Parameters:
eventEmitter- the EventEmitter through which this controller will interact
-
-
Method Details
-
selectSource
Deprecated.Description copied from interface:SourceSelectorDetermines best appropriate Source within given Video object based on logic implemented.- Specified by:
selectSourcein interfaceSourceSelector- Overrides:
selectSourcein classDefaultSourceSelectionController- 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- See Also:
-
DefaultSourceSelectionController, please create your customizedSourceSelectorand use it to construct theDefaultSourceSelectionControllerwithDefaultSourceSelectionController.createWithSourceSelector(EventEmitter, SourceSelector)