Fix broken player on non MSE devices
This commit is contained in:
parent
6c4d6ec831
commit
f2c29ced30
|
@ -84,6 +84,8 @@ class P2pMediaLoaderPlugin extends Plugin {
|
|||
}
|
||||
|
||||
getCurrentLevel () {
|
||||
if (!this.hlsjs) return undefined
|
||||
|
||||
return this.hlsjs.levels[this.hlsjs.currentLevel]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue