@ovencord/voice
v0.20.0
Published
Implementation of the Discord Voice API
Maintainers
Readme
@𝗼𝘃𝗲𝗻𝗰𝗼𝗿𝗱/𝘃𝗼𝗶𝗰𝗲
About
@ovencord/voice is a TypeScript implementation of the Discord Voice API for Node.js.
Features:
- Send and receive* audio in Discord voice-based channels
- A strong focus on reliability and predictable behavior
- Horizontal scalability and libraries other than discord.js are supported with custom adapters
- A robust audio processing system that can handle a wide range of audio sources
*Audio receive is not documented by Discord so stable support is not guaranteed
📦 Installation
Bun 1.0.+ is required, but we recommend always using the most up-to-date version
bun add @ovencord/voiceDependencies
This library has several optional dependencies to support a variety of different platforms. Install one dependency from each of the categories shown below. The dependencies are listed in order of preference for performance. If you can't install one of the options, try installing another.
Encryption Libraries (npm install):
[!NOTE] You only need to install one of these libraries if your system does not support
aes-256-gcm(verify by runningrequire('node:crypto').getCiphers().includes('aes-256-gcm')).
sodium-native: ^3.3.0sodium: ^3.0.2@stablelib/xchacha20poly1305: ^2.0.0@noble/ciphers: ^1.0.0libsodium-wrappers: ^0.7.9
DAVE Protocol Libraries (e2ee)
[!NOTE] At this time,
@snazzah/daveyis the only supported DAVE protocol library in this package, and comes pre-installed. In the future, we may support other libraries once they are created.
@snazzah/davey: ^0.1.6
Opus Libraries (npm install):
@ovencord/opus: ^0.4.0opusscript: ^0.0.7
FFmpeg:
FFmpeg(installed and added to environment)ffmpeg-static: ^4.2.7 (npm install)
