InventiveLabs.VoiceElementsClient 9.8.3

dotnet add package InventiveLabs.VoiceElementsClient --version 9.8.3
                    
NuGet\Install-Package InventiveLabs.VoiceElementsClient -Version 9.8.3
                    
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="InventiveLabs.VoiceElementsClient" Version="9.8.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="InventiveLabs.VoiceElementsClient" Version="9.8.3" />
                    
Directory.Packages.props
<PackageReference Include="InventiveLabs.VoiceElementsClient" />
                    
Project file
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 InventiveLabs.VoiceElementsClient --version 9.8.3
                    
#r "nuget: InventiveLabs.VoiceElementsClient, 9.8.3"
                    
#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 InventiveLabs.VoiceElementsClient@9.8.3
                    
#: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=InventiveLabs.VoiceElementsClient&version=9.8.3
                    
Install as a Cake Addin
#tool nuget:?package=InventiveLabs.VoiceElementsClient&version=9.8.3
                    
Install as a Cake Tool

Voice Elements Client

Introduction

Voice Elements makes it easy to build both traditional phone applications, SMS and WebRTC applications which provide all the functionality of your phone right into your browser. This allows you use any .NET language to bring your voice applications to life.

Version Highlights

Version 9.8.3.0 builds on the Voice Elements AI Initiative. This version also provides a new serializer to eliminate the dependency on the older deprecated .NET BinaryFormatter. The client by default uses the new formatter, but still allows for the use of the legacy formatter via configuration settings.

GetMonitorStream (New Method)

Returns the current monitor stream configuration for a voice resource, including the source endpoint that the VoiceElements Platform will transmit RTP from and the destination endpoint it is configured to stream to.

Typical usage: Call after SetMonitorStream to discover the source IP and port before the stream starts. This is useful when the receiving endpoint needs to know what the source address is prior to media flowing.

Returns a MonitorStreamInfo containing:

Property Type Description
SourceInternalIp string The internal IP address of the source of the monitor stream
SourceInternalPort int The internal port of the source of the monitor stream
SourceExternalIp string The external IP address of the source, if the server is behind NAT; otherwise same as internal
SourceExternalPort int The external port of the source (mirrors internal port for static NAT)
DestinationIp string The IP address of the destination of the monitor stream
DestinationPort int The port of the destination of the monitor stream
Codec string The codec being used — one of G711_Mulaw_8Bit_8Khz, G711_Alaw_8Bit_8Khz, PCM_16Bit_8Khz, OPUS_8Khz_PCM_Hybrid
IsStreaming bool Indicates whether the monitor stream is currently active

Note: Source IP and port are allocated when SetMonitorStream is called, not when streaming begins — so GetMonitorStream will return valid source endpoint information before the stream starts.

BREAKING CHANGE REMINDER

We removed the BinaryFormatter from VoiceElements because Microsoft formally deprecated it and then eliminated it entirely in .NET Core for security reasons. The serializer had multiple unresolved vulnerabilities and was no longer supported as a safe or modern serialization mechanism. VoiceElements now uses secure, fully supported serialization alternatives to ensure long-term compatibility and improved application safety.

For customers connecting to VoiceElements Servers running v9.8.2 or later (including our hosted VoiceElements Server Banks), simply update your project to reference this new client version and connect as usual. If you are on support for your premise-based server, you may request a download link for Server v9.8.2 by contacting support@inventivelabs.com.

For customers connecting to older VoiceElements Servers (pre-v9.8.2), you can update to this version of VoiceElementsClient, but you must make the following adjustments in your project to maintain compatibility with the older server versions:

In your project file:

<PropertyGroup>
  <EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
</PropertyGroup>

And in your appsettings.json:

"ApplicationSettings": {
  "VoiceElements.Properties.Settings": {
    ...
    "UseLegacyBinarySerializer": true
  }
}

Alternatively, you can add this to your code before you connect to the server:

VoiceElements.Common.AppSettingsCommon.UseLegacyBinarySerializer = true;
Product 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 was computed.  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 was computed.  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.1 is compatible. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
9.8.3 100 6/5/2026
9.8.2 357 4/27/2026
9.8.1-pre 247 3/18/2026
9.7.3 1,378 6/5/2025
9.7.2 1,446 2/17/2025
9.6.2 957 10/9/2024
9.4.1 1,573 2/8/2024
9.2.1 1,381 1/28/2022
9.1.1-pre 999 4/28/2020
9.1.0-pre 765 1/29/2020
8.6.4 1,179 2/5/2021
8.6.3 2,419 11/2/2018
8.6.2 1,205 9/28/2018
8.6.1.1 9,182 4/18/2018
8.4.1.1 1,968 1/31/2017