Search Results for

    Show / Hide 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 DisCatSharp 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 Linux Mint.

    sudo apt-get install libopus0 libopus-dev
    

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

    Distributions Terminal Command
    Ubuntu 18.04+, Debian 10+ sudo apt-get install libsodium23 libsodium-dev
    Linux Mint, Ubuntu 16.04, Debian 9 sudo apt-get install libsodium18 libsodium-dev
    Debian 8 sudo apt-get install libsodium13 libsodium-dev
    • Improve this Doc
    In This Article
    Back to top © 2021-2022 Aiko IT Systems