samirkumardas / opus-to-pcm

Decode raw opus packet to PCM without using any external library in your browser.
Other
73 stars 15 forks source link

Make this work on node without browser support #17

Closed shyamsfo closed 4 years ago

shyamsfo commented 4 years ago

Is it possible to have this module work as a pure node module, taking in an opus stream and producing pcm stream without using the browser?

samirkumardas commented 4 years ago

You can use Emscripten version of libopus instead. You don't need this library anymore.

You will find several projects on github regarding Emscripten version. I have also a project https://github.com/samirkumardas/another-libopus.js you can find instruction on how to build from source as well.

shyamsfo commented 4 years ago

Thanks. Will try !!