mbebenita / Broadway

A JavaScript H.264 decoder.
Other
2.73k stars 424 forks source link

UCBrowser Android and (maybe) asm.js #196

Open vuzya opened 5 years ago

vuzya commented 5 years ago

Hello, @mbebenita Could you please help to understand: i tried to use the Broadway and it works good almost everywhere, but for UCBrowser Android. the user 131 is applied your Broadway approach to live streaming https://github.com/131/h264-live-player and his build of the Broadway is playing there. But when I use the vanilla Broadway the error is no native wasm support detected with the cause abort("Assertion failed: no binaryen method succeeded."). Build with -s ASSERTIONS=1 for more info.

But as I understand those version is using asm.js (as it logs increasing TOTAL_MEMORY to X to be compliant with the asm.js spec) for cases when no wasm available, is it possible? Can I achieve the same with the fresh version of vanilla Broadway?