Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
bosscheng committed Sep 2, 2024
1 parent 331bedb commit 51cc0a2
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 12 deletions.
2 changes: 1 addition & 1 deletion demo/public/decoder.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

Large diffs are not rendered by default.

Binary file modified demo/public/dist.zip
Binary file not shown.
27 changes: 21 additions & 6 deletions demo/public/jessibuca.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/constant/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const DEFAULT_PLAYER_OPTIONS = {
wasmDecodeAudioSyncVideo: false,// wasm 解码之后音视频同步
recordType: FILE_SUFFIX.webm,
useWebFullScreen: false, // use web full screen
initDecoderWorkerTimeout: 10 //
loadingDecoderWorkerTimeout: 10 //
}


Expand Down
2 changes: 1 addition & 1 deletion src/jessibuca.js
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ class Jessibuca extends Emitter {
this._clearInitDecoderWorkerTimeout();
this.initDecoderWorkerTimeout = setTimeout(() => {
this._handleInitDecoderWorkerTimeout();
}, this._opt.initDecoderWorkerTimeout * 1000);
}, this.player._opt.loadingDecoderWorkerTimeout * 1000);
}


Expand Down

0 comments on commit 51cc0a2

Please sign in to comment.