update components
This commit is contained in:
parent
f1d6aab355
commit
f3e8cf9567
21 changed files with 365 additions and 154 deletions
|
@ -143,7 +143,7 @@ class AbrController extends EventHandler {
|
|||
|
||||
get nextAutoLevel() {
|
||||
var lastbw = this.lastbw, hls = this.hls,adjustedbw, i, maxAutoLevel;
|
||||
if (this._autoLevelCapping === -1) {
|
||||
if (this._autoLevelCapping === -1 && hls.levels && hls.levels.length) {
|
||||
maxAutoLevel = hls.levels.length - 1;
|
||||
} else {
|
||||
maxAutoLevel = this._autoLevelCapping;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue