DefaultSourceSelectionController, please create your
customized SourceSelector and use it to construct the DefaultSourceSelectionController
with DefaultSourceSelectionController.createWithSourceSelector(EventEmitter, SourceSelector)@Deprecated public class ExoPlayerSourceSelectionController extends DefaultSourceSelectionController
TAGeventEmitter, listenerTokens| Constructor and Description |
|---|
ExoPlayerSourceSelectionController(EventEmitter eventEmitter)
Deprecated.
Initializes this controller with the given EventEmitter.
|
| Modifier and Type | Method and Description |
|---|---|
Source |
selectSource(Video video)
Deprecated.
Determines best appropriate Source within given Video object based on logic implemented.
|
create, createWithSourceSelector, findBestSourceByBitRate, getSourceSelector, initializeListeners, selectSource, setSourceSelectoraddListener, addOnceListener, getEventEmitter, removeListener, removeListenerspublic ExoPlayerSourceSelectionController(EventEmitter eventEmitter)
eventEmitter - the EventEmitter through which this controller will interact@NonNull public Source selectSource(@NonNull Video video) throws NoSourceFoundException
SourceSelectorselectSource in interface SourceSelectorselectSource in class DefaultSourceSelectionControllervideo - Video in which to find the most appropriate SourceNoSourceFoundException - when no valid Source is foundSourceSelector.selectSource(com.brightcove.player.model.Video)