Open stnelso2 opened 10 years ago
...stack size exceeded' on large files.
The String.fromCharCode.apply method on line 6558, of speex.js in dist throws an error when data[0] is too large. I added the function pack to stringify the char array and avoid the stack range error.
Great! Would you mind changing src/ogg.js ? dist/speex.js is generated from files within src.
src/ogg.js
dist/speex.js
src
Thanks!
...stack size exceeded' on large files.
The String.fromCharCode.apply method on line 6558, of speex.js in dist throws an error when data[0] is too large. I added the function pack to stringify the char array and avoid the stack range error.