/voice

Implementation of the Discord Voice API for Discord.js and other JS/TS libraries

Primary LanguageTypeScriptMIT LicenseMIT

@discordjs/voice

Discord server NPM version NPM downloads Build status Test coverage Patreon

Provides audio streaming functionality to Discord.js

Status: alpha

This library is still in development - the API is subject to change!

Dependencies

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):

  • sodium: ^3.0.2
  • tweetnacl: ^1.0.3
  • libsodium-wrappers: ^0.7.9

Opus Libraries (npm install):

  • @discordjs/opus: ^0.4.0
  • opusscript: ^0.0.7

FFmpeg:

  • FFmpeg (installed and added to environment)
  • ffmpeg-static: ^4.2.7 (npm install)

Contribution

See Contributing Guide.