LibreMetaverse.Voice.WebRTC
3.2.0
Prefix Reserved
dotnet add package LibreMetaverse.Voice.WebRTC --version 3.2.0
NuGet\Install-Package LibreMetaverse.Voice.WebRTC -Version 3.2.0
<PackageReference Include="LibreMetaverse.Voice.WebRTC" Version="3.2.0" />
<PackageVersion Include="LibreMetaverse.Voice.WebRTC" Version="3.2.0" />
<PackageReference Include="LibreMetaverse.Voice.WebRTC" />
paket add LibreMetaverse.Voice.WebRTC --version 3.2.0
#r "nuget: LibreMetaverse.Voice.WebRTC, 3.2.0"
#:package LibreMetaverse.Voice.WebRTC@3.2.0
#addin nuget:?package=LibreMetaverse.Voice.WebRTC&version=3.2.0
#tool nuget:?package=LibreMetaverse.Voice.WebRTC&version=3.2.0
▗▖ ▄ ▗▖ ▄▄▄ ▗▞▀▚▖▗▖ ▗▖▗▞▀▚▖ ■ ▗▞▀▜▌▄ ▄ ▗▞▀▚▖ ▄▄▄ ▄▄▄ ▗▞▀▚▖
▐▌ ▄ ▐▌ █ ▐▛▀▀▘▐▛▚▞▜▌▐▛▀▀▘▗▄▟▙▄▖▝▚▄▟▌█ █ ▐▛▀▀▘█ ▀▄▄ ▐▛▀▀▘
▐▌ █ ▐▛▀▚▖█ ▝▚▄▄▖▐▌ ▐▌▝▚▄▄▖ ▐▌ ▀▄▀ ▝▚▄▄▖█ ▄▄▄▀ ▝▚▄▄▖
▐▙▄▄▖█ ▐▙▄▞▘ ▐▌ ▐▌ ▐▌
▐▌
LibreMetaverse.Voice.WebRTC
Voice chat for Second Life's WebRTC voice service. It negotiates a session through the region's voice capabilities, sends and receives Opus audio over WebRTC, and handles nearby voice, group and conference voice and one-to-one calls, with per-person mute and gain. Audio capture and playback are done through SIPSorcery, with SDL3 or SoundFlow behind it.
Archiving · Utilities · Voice.Vivox · [Voice.WebRTC]
│ built on the client
LibreMetaverse the client: login, managers, inventory
│
Transport UDP socket, reliable circuit, throttle
│
Protocol packets and capability messages
│
Assets the offline data model
├── ModelFormats · Rendering.MeshFoundry · Rendering.Simple
│
StructuredData · Imaging.Abstractions
│
Types UUID, vectors, quaternions, colors
on their own: PrimMesher · Imaging.Skia · RLV · LslTools
A name in brackets is this package. Packages use the ones beneath them; the Depends on section below is exact.
What is in it
VoiceManager: construct it with your logged-inGridClient.- Nearby voice:
ConnectPrimaryRegionAsync,RequestParcelVoiceInfoAsync,Disconnect.IsVoiceAllowedAttells you whether the region offers voice. - Groups and conferences:
JoinGroupVoiceAsync,LeaveGroupVoiceAsync,JoinConferenceVoiceAsync, and lists of the sessions and peers you are in. - Calls:
AcceptIncomingP2PCallAsyncandDeclineIncomingP2PCall. - People:
SetPeerMute,SetPeerGain,GetKnownPeers, andSendDataChannelMessagefor the WebRTC data channel. - Test audio:
PlayWavAsMicandPlayRawFilefeed a file into the microphone channel.
- Nearby voice:
AudioDevice,PeerManager,VoiceSession: the devices and the per-peer state.IVoiceLogger: where voice logging goes;LibreMetaverseVoiceLoggersends it to the client's logger.
Example
using LibreMetaverse.Voice.WebRTC;
var voice = new VoiceManager(client); // client is a logged-in GridClient
if (VoiceManager.IsVoiceAllowedAt(client))
{
bool joined = await voice.ConnectPrimaryRegionAsync();
Console.WriteLine(joined ? "On voice" : "Could not join");
}
Use it when
You want your bot or viewer to speak and listen in Second Life. This is the current voice service. LibreMetaverse.Voice.Vivox drives the older Vivox one. Native audio libraries come with the package's dependencies; check that the platform you ship on is covered.
Depends on
LibreMetaverse, LibreMetaverse.StructuredData, SIPSorcery with its SDL3 and SoundFlow media packages, and System.Text.Json. It targets .NET Standard 2.1, .NET Framework 4.8.1, and .NET 8, 9 and 10.
Install
dotnet add package LibreMetaverse.Voice.WebRTC
More
- Source, issues and discussion: https://github.com/cinderblocks/libremetaverse
- Moving from 3.1: the migration guide
- License: BSD-3-Clause
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 is compatible. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| .NET Framework | net481 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.8.1
- LibreMetaverse (>= 3.2.0)
- LibreMetaverse.StructuredData (>= 3.2.0)
- SIPSorcery (>= 10.0.16)
- SIPSorceryMedia.SDL3 (>= 0.1.1)
- SIPSorceryMedia.SDL3.Native (>= 3.2.28)
- System.Text.Json (>= 10.0.12)
-
.NETStandard 2.1
- LibreMetaverse (>= 3.2.0)
- LibreMetaverse.StructuredData (>= 3.2.0)
- SIPSorcery (>= 10.0.16)
- System.Text.Json (>= 10.0.12)
-
net10.0
- LibreMetaverse (>= 3.2.0)
- LibreMetaverse.StructuredData (>= 3.2.0)
- SIPSorcery (>= 10.0.16)
- SIPSorceryMedia.SoundFlow (>= 0.1.1)
-
net8.0
- LibreMetaverse (>= 3.2.0)
- LibreMetaverse.StructuredData (>= 3.2.0)
- SIPSorcery (>= 10.0.16)
- SIPSorceryMedia.SoundFlow (>= 0.1.1)
- System.Text.Json (>= 10.0.12)
-
net9.0
- LibreMetaverse (>= 3.2.0)
- LibreMetaverse.StructuredData (>= 3.2.0)
- SIPSorcery (>= 10.0.16)
- SIPSorceryMedia.SoundFlow (>= 0.1.1)
- System.Text.Json (>= 10.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.2.0 | 126 | 10/13/2026 |
| 3.1.8 | 132 | 10/6/2026 |
| 3.1.7 | 114 | 10/4/2026 |
| 3.1.6 | 164 | 9/14/2026 |
| 3.1.5 | 353 | 9/3/2026 |
| 3.1.4 | 131 | 8/26/2026 |
| 3.1.3 | 239 | 7/24/2026 |
| 3.1.2 | 146 | 7/21/2026 |
| 3.1.1 | 245 | 7/14/2026 |
| 3.1.0 | 180 | 7/11/2026 |
| 3.0.4 | 194 | 7/9/2026 |
| 3.0.3 | 292 | 7/3/2026 |
| 3.0.2 | 145 | 6/29/2026 |
| 3.0.1 | 146 | 6/27/2026 |
| 3.0.0 | 196 | 6/23/2026 |
| 2.6.10 | 157 | 6/20/2026 |
| 2.6.9 | 146 | 6/8/2026 |
| 2.6.8 | 138 | 6/7/2026 |
| 2.6.7 | 169 | 5/14/2026 |
| 2.6.6 | 169 | 4/12/2026 |