Universal.Discord.Voice
1.0.1
dotnet add package Universal.Discord.Voice --version 1.0.1
NuGet\Install-Package Universal.Discord.Voice -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Universal.Discord.Voice" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Universal.Discord.Voice" Version="1.0.1" />
<PackageReference Include="Universal.Discord.Voice" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Universal.Discord.Voice --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Universal.Discord.Voice, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Universal.Discord.Voice@1.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Universal.Discord.Voice&version=1.0.1
#tool nuget:?package=Universal.Discord.Voice&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Universal.Discord.Voice
Discord voice gateway, RTP transport encryption, UDP audio transport, and DAVE end-to-end encryption.
Getting started
using Universal.Discord.Voice;
using Universal.Discord.Voice.Dave;
using Universal.Discord.Voice.Rtp;
VoiceSessionInfo session = await handshake.WaitAsync(cancellationToken);
await using VoiceConnection connection = await VoiceConnection.ConnectAsync(session, cancellationToken);
using var dave = new DaveSession(connection, userId, channelId);
await dave.StartAsync(cancellationToken);
using var members = new SsrcRegistry(connection);
var frames = new DaveFrameCryptor(dave, members);
await using var rtp = new RtpAudioTransport(connection);
rtp.Start();
Use Universal.Discord.Voice.Opus for Discord Opus framing and codec defaults.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Universal.Common.Security.Mls (>= 1.0.0)
- Universal.Discord (>= 1.0.0)
- Universal.Discord.Gateway (>= 1.0.0)
-
net8.0
- Universal.Common.Security.Mls (>= 1.0.0)
- Universal.Discord (>= 1.0.0)
- Universal.Discord.Gateway (>= 1.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Universal.Discord.Voice:
| Package | Downloads |
|---|---|
|
Universal.Discord.Voice.Opus
Opus codec integration for Universal.Discord.Voice. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Hardened truncated AES-GCM authentication.