ToxMod SDK Documentation


This page links to documentation on the Client and Server SDKs provided by ToxMod, which are native libraries that support audio ingestion and upload to the ToxMod service.

ToxMod Client-Side SDK Documentation


The ToxMod Client-Side SDK is designed to run on client devices (PCs, Consoles, Phones, etc.) and consume raw audio buffers, either directly from the audio input device or from a callback in a voice chat framework. The SDK runs voice activity detection and audio encoding on the collected buffers and uploads them to ToxMod for processing.

Most users of ToxMod will integrate the Client-Side SDK, as it can be used even if the user does not have access to a voice chat server. If you're looking to integrate ToxMod into your game or application and don't run your own voice chat infrastructure too, this is the correct SDK.

Link to ToxMod Client-Side SDK Docs

ToxMod Server-Side SDK Documentation


The ToxMod Server-Side SDK is designed to run on voice chat servers and consume voice chat packets encoded in Opus format. The ToxMod Server-Side SDK assumes that, if necessary, voice activity detection has already been run before voice chat packets are passed to the SDK (for example, running voice activity detection client-side before packets are sent to the server). This SDK consumes hundreds to thousands of simultaneous voice chat streams, performs lightweight wrapping of packets into Ogg containers, and uploads audio data to ToxMod for processing.

Use of the ToxMod Server-Side SDK requires the ability to integrate the SDK into your voice chat infrastructure. If you run your own voice chat service, this is the correct SDK to use.

Link to ToxMod Server-Side SDK Docs