Skip to content

Commit

Permalink
Add support for @discordjs/opus (#35)
Browse files Browse the repository at this point in the history
* Add @discordjs/opus as a dependency

* Update pcm test file

* Use opusscript in CI

* Use @discordjs/opus for CI

* Update README
  • Loading branch information
amishshah authored Jan 16, 2020
1 parent 4e79782 commit 5b6aee7
Show file tree
Hide file tree
Showing 8 changed files with 9,193 additions and 5,272 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
- name: Install dependencies and test
run: |
npm install
npm install ffmpeg-static node-opus
npm install ffmpeg-static @discordjs/opus
npm test
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,11 @@ The following dependencies are all optional, and you should only install one fro
each category is preferred)

- Opus
- [`node-opus`](https://github.com/Rantanen/node-opus) (native, ^0.3.1)
- [`opusscript`](https://github.com/abalabahaha/opusscript) (^0.0.6)
- [`@discordjs/opus`](https://github.com/discordjs/opus)
- [`node-opus`](https://github.com/Rantanen/node-opus)
- [`opusscript`](https://github.com/abalabahaha/opusscript)
- FFmpeg
- [`ffmpeg-static`](http://npmjs.com/ffmpeg-static) (^2.4.0)
- [`ffmpeg-static`](http://npmjs.com/ffmpeg-static)
- `ffmpeg` from a [normal installation](https://www.ffmpeg.org/download.html)

## Useful Links
Expand Down
Loading

0 comments on commit 5b6aee7

Please sign in to comment.