zlib stream compression (#2028)

This commit is contained in:
Gus Caplan
2017-10-25 11:30:03 -05:00
committed by Amish Shah
parent 0277d1de78
commit 0589b7d7f1
7 changed files with 48 additions and 30 deletions

View File

@@ -41,6 +41,7 @@ Using opusscript is only recommended for development environments where node-opu
For production bots, using node-opus should be considered a necessity, especially if they're going to be running on multiple servers.
### Optional packages
- [zlib-sync](https://www.npmjs.com/package/zlib-sync) for significantly faster WebSocket data inflation (`npm install zlib-sync`)
- [bufferutil](https://www.npmjs.com/package/bufferutil) to greatly speed up the WebSocket when *not* using uws (`npm install bufferutil --save`)
- [erlpack](https://github.com/hammerandchisel/erlpack) for significantly faster WebSocket data (de)serialisation (`npm install discordapp/erlpack --save`)
- One of the following packages can be installed for faster voice packet encryption and decryption: