Fix broken player on non MSE devices
This commit is contained in:
parent
6c4d6ec831
commit
f2c29ced30
1 changed files with 2 additions and 0 deletions
|
@ -84,6 +84,8 @@ class P2pMediaLoaderPlugin extends Plugin {
|
|||
}
|
||||
|
||||
getCurrentLevel () {
|
||||
if (!this.hlsjs) return undefined
|
||||
|
||||
return this.hlsjs.levels[this.hlsjs.currentLevel]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue