langhuihui / jessibuca

Jessibuca是一款开源的纯H5直播流播放器
https://jessibuca.com
GNU General Public License v3.0
2.26k stars 421 forks source link

Uncaught DOMException: Failed to execute 'transferToImageBitmap' on 'OffscreenCanvas': ImageBitmap construction failed #113

Closed hello-lls closed 2 years ago

hello-lls commented 2 years ago

--------------------------------------------------------------console output start-------------------------------------------------------------- hasAudio false
on load init load 播放 sample_rate = 48000 [h264 @ 0x61fe50] Warning: not compiled with thread support, using thread emulation videoInfo {w: 2560, h: 1440} start WebGL: CONTEXT_LOST_WEBGL: loseContext: context lost

Uncaught DOMException: Failed to execute 'transferToImageBitmap' on 'OffscreenCanvas': ImageBitmap construction failed at Object.draw (http://localhost:8080/static/js/jessibuca/index.js:3:666252) at methodCallervoid$unsigned$int_unsigned$int_unsigned$int_unsigned$int$ (eval at uI (http://localhost:8080/static/js/jessibuca/index.js:3:602796), :8:26) at II (http://localhost:8080/static/js/jessibuca/index.js:3:610340) at http://localhost:8080/static/js/jessibuca/ff.wasm:wasm-function[1460]:0x919b6 at http://localhost:8080/static/js/jessibuca/ff.wasm:wasm-function[575]:0x3f2d4 at http://localhost:8080/static/js/jessibuca/ff.wasm:wasm-function[1467]:0x9b910 at http://localhost:8080/static/js/jessibuca/ff.wasm:wasm-function[706]:0x511fa at VideoDecoder$decode [as decode] (eval at uI (http://localhost:8080/static/js/jessibuca/index.js:3:602796), :9:10) at http://localhost:8080/static/js/jessibuca/index.js:3:663834

关闭视频 ----------------------------------------------------------------console output end--------------------------------------------------------------

微信截图_20211224093224

bosscheng commented 2 years ago

@hello-lls 确认下 你是用的offscreen 模式播放的嘛?