fix: 🐛 (xgplayer-hls) 非MMS应支持软解

This commit is contained in:
gemstone 2024-12-02 21:24:40 +08:00
parent 253a930032
commit 02d7610465

View File

@ -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
}