snxly

Results 15 comments of snxly

js里用不了c 代码定义的结构体,只能做内存数据拷贝。

可参考 https://github.com/goldvideo/decoder_wasm/blob/master/test/video.js 这里webgl的使用

像我们的播放器那样,在前端缓存数据,是不是能解决你们的堆积问题?

> 不太懂,我觉得ffmpeg解码1080p 30fps的h,264裸流会产生延时,ffmpeg解码实时流解不过来 > […](#) > ------------------ 原始邮件 ------------------ 发件人: "snxly"

我们用的编译代码就是github上的版本,没有额外的更改,也没有设置--disable-pthreads。 看emcc的版本,你的好像还要更新一些 emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 1.38.45 clang version 6.0.1 (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-emscripten--core-emscripten--fastcomp--clang 98df4be387dde3e3918fa5bbb5fc43e1a0e1daac) (/b/s/w/ir/cache/git/chromium.googlesource.com-external-github.com-emscripten--core-emscripten--fastcomp 6c7e775325067e33fa60611e619a8b987b6d0c35) (emscripten 1.38.31 : 1.38.31) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /data/github/emsdk/fastcomp/fastcomp/bin...