Skip to content

Commit

Permalink
修复h265 不支持的时候降级到wasm 卡主的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
bosscheng committed Sep 2, 2024
1 parent 25a4e13 commit 929488c
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 13 deletions.
Binary file modified demo/public/dist.zip
Binary file not shown.
Binary file modified demo/public/pro.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion demo/public/pro/js/decoder-pro-audio.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/public/pro/js/decoder-pro-hard-not-wasm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/public/pro/js/decoder-pro-hard.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/public/pro/js/decoder-pro-mt.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/public/pro/js/decoder-pro-old.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/public/pro/js/decoder-pro-simd-mt.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/public/pro/js/decoder-pro-simd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/public/pro/js/decoder-pro.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/public/pro/js/jessibuca-pro-demo.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/public/pro/js/jessibuca-pro-multi-demo.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/jessibuca.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/jessibuca.js
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ class Jessibuca extends Emitter {
this.pause().then(() => {
if (this.player._opt.autoWasm) {
this.debug.log('Jessibuca', 'auto wasm [mse-> wasm] reset player and play')
this._resetPlayer({useMSE: false})
this._resetPlayer({useMSE: false, useWCS: false})
this.play(url, options).then(() => {
// resolve();
this.debug.log('Jessibuca', 'auto wasm [mse-> wasm] reset player and play success')
Expand Down Expand Up @@ -506,7 +506,7 @@ class Jessibuca extends Emitter {
this.pause().then(() => {
if (this.player._opt.autoWasm) {
this.debug.log('Jessibuca', 'auto wasm [wcs-> wasm] reset player and play')
this._resetPlayer({useWCS: false})
this._resetPlayer({useWCS: false, useMSE: false})
this.play(url, options).then(() => {
// resolve();
this.debug.log('Jessibuca', 'auto wasm [wcs-> wasm] reset player and play success')
Expand Down

0 comments on commit 929488c

Please sign in to comment.