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
TAG
Fields inherited from class com.brightcove.player.event.AbstractComponent
eventEmitter, listenerTokens
-
Constructor Summary
ConstructorDescriptionExoPlayerSourceSelectionController
(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, setSourceSelector
Methods 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:SourceSelector
Determines best appropriate Source within given Video object based on logic implemented.- Specified by:
selectSource
in interfaceSourceSelector
- Overrides:
selectSource
in 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 validSource
is found- See Also:
-
DefaultSourceSelectionController
, please create your customizedSourceSelector
and use it to construct theDefaultSourceSelectionController
withDefaultSourceSelectionController.createWithSourceSelector(EventEmitter, SourceSelector)