Duan Yao
Duan Yao
E.g. in C++ there are `CodecBoxDecoder::get_sampleRate()/set_sampleRate()` methods, and they are mapped to JS property `CodecBoxDecoder.prototype.sampleRate`, see: https://github.com/duanyao/codecbox.js/blob/master/src/codecbox-decoder-worker.js#L60
`grunt init` mainly clones source repos. If this step reports errors or warnings, some repos may not have been cloned properly. Check whether `build/x264` dir exists and contains x264 source...
The error in `grunt build-codecbox` is due to emcc changes. I updated my codes to align with current emscripten, ffmpeg, etc., see c31de35d32cc9e3f01dd577b3c27df7f24e599ed.
Yes, it's a known problem. At the time I wrote this code, I have little experience in writing a video player, so the player just renders frames at the pace...
Sorry for the late response. Sure, but some users may be accustomed to keep the original file name when downloading a file, so they may overlook that the file name...