Is there something wrong with the default value of fastSwitchEnabled?
Created by: oldmtn
getFastSwitchEnabled API comes from MediaPlayer.js:
/**
* Enabled by default. Will return the current state of Fast Switch.
* @return {boolean} Returns true if FastSwitch ABR is enabled.
* @see {@link module:MediaPlayer#setFastSwitchEnabled setFastSwitchEnabled()}
* @memberof module:MediaPlayer
* @instance
*/
function getFastSwitchEnabled() {
return mediaPlayerModel.getFastSwitchEnabled();
}
It says
Enabled by default
. But in MediaPlayerModel.js, its default values is false:
function setup() {
// ...
fastSwitchEnabled = false;
// .,.
}
Is there something wrong with the default value of fastSwitchEnabled?