public class OnceUxSourceSelectionController extends DefaultSourceSelectionController
TAG
eventEmitter, listenerTokens
Constructor and Description |
---|
OnceUxSourceSelectionController(EventEmitter eventEmitter)
Initializes this controller with the given EventEmitter.
|
Modifier and Type | Method and Description |
---|---|
Source |
selectSource(Video video)
Determines best appropriate Source within given Video object based on logic implemented.
|
findBestSourceByBitRate, initializeListeners
addListener, addOnceListener, getEventEmitter, removeListener, removeListeners
public OnceUxSourceSelectionController(EventEmitter eventEmitter)
eventEmitter
- the EventEmitter through which this controller will interactpublic Source selectSource(Video video) throws NoSourceFoundException
SourceSelector
selectSource
in interface SourceSelector
selectSource
in class DefaultSourceSelectionController
video
- Video in which to find the most appropriate SourceNoSourceFoundException
SourceSelector.selectSource(com.brightcove.player.model.Video)