@Deprecated public class ExoPlayerSourceSelectionController extends DefaultSourceSelectionController
DefaultSourceSelectionController
for use with the ExoPlayer. Adds support for DASH selection.TAG
eventEmitter, 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.
|
findBestSourceByBitRate, initializeListeners
addListener, addOnceListener, getEventEmitter, removeListener, removeListeners
public ExoPlayerSourceSelectionController(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)