mirror of
https://github.com/bytedance/xgplayer.git
synced 2025-04-05 03:05:02 +08:00
fix: 🐛 (xgplayer-hls) 非MMS应支持软解
This commit is contained in:
parent
253a930032
commit
02d7610465
@ -81,7 +81,7 @@ export class HlsPlugin extends BasePlugin {
|
||||
(!config.url &&
|
||||
// private config key
|
||||
!config.__allowHlsEmptyUrl__) ||
|
||||
(!hlsOpts.preferMMS && MSE.isMMSOnly())
|
||||
(!this.softDecode && !hlsOpts.preferMMS && MSE.isMMSOnly())
|
||||
) {
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user