Table of Contents

Required Libraries

VoiceNext depends on the libsodium and Opus libraries to decrypt and process audio packets. Both must be available on your development and host machines otherwise VoiceNext will not work.

Windows

When installing VoiceNext though NuGet, an additional package containing the native Windows binaries will automatically be included with no additional steps required.

However, if you are using DSharpPlus from source or without a NuGet package manager, you must manually download the binaries and place them at the root of your working directory where your application is located.

MacOS

Native libraries for Apple's macOS can be installed using the Homebrew package manager:

brew install opus libsodium

Linux

Debian and Derivatives

Opus package naming is consistent across Debian, Ubuntu, and most derivatives.

sudo apt-get install libopus0 libopus-dev

Package naming for libsodium will vary depending on your distro and version:

Distributions Terminal Command
Ubuntu 20.04, Ubuntu 18.04, Debian 10, Debian 11 sudo apt-get install libsodium23 libsodium-dev
Linux Mint, Ubuntu 16.04, Debian 9 sudo apt-get install libsodium18 libsodium-dev