I am trying to decode an Opus buffer which library should I use.
Asked
Active
Viewed 2,064 times
2
-
you might look at node-opus .. https://www.npmjs.com/package/node-opus – Robert Rowntree Feb 24 '19 at 16:04
-
I tried to use this library but it doesn't work or maybe I can't understand how to use – Mohamed Farouk Feb 24 '19 at 16:34
-
its an npm module, used as follow: clone it from the git source code at : https://github.com/Rantanen/node-opus .. cd to the root dir for the project.. install it with "npm install" .. run tests with "npm run test" ... then start drilling down into the details.. – Robert Rowntree Feb 24 '19 at 19:58
-
@RobertRowntree It doesn't work as I want – Mohamed Farouk Oct 30 '19 at 19:03
-
Use [`opus-stream-decoder`](https://www.npmjs.com/package/opus-stream-decoder). See the NodeJS example in the [test-opus-stream-decoder.js](https://github.com/AnthumChris/opus-stream-decoder/blob/master/dist/test-opus-stream-decoder.js) file: – anthumchris Apr 06 '19 at 19:17