Soenneker.Telnyx.Blazor.WebRtc
3.0.114
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Telnyx.Blazor.WebRtc --version 3.0.114
NuGet\Install-Package Soenneker.Telnyx.Blazor.WebRtc -Version 3.0.114
<PackageReference Include="Soenneker.Telnyx.Blazor.WebRtc" Version="3.0.114" />
<PackageVersion Include="Soenneker.Telnyx.Blazor.WebRtc" Version="3.0.114" />
<PackageReference Include="Soenneker.Telnyx.Blazor.WebRtc" />
paket add Soenneker.Telnyx.Blazor.WebRtc --version 3.0.114
#r "nuget: Soenneker.Telnyx.Blazor.WebRtc, 3.0.114"
#:package Soenneker.Telnyx.Blazor.WebRtc@3.0.114
#addin nuget:?package=Soenneker.Telnyx.Blazor.WebRtc&version=3.0.114
#tool nuget:?package=Soenneker.Telnyx.Blazor.WebRtc&version=3.0.114
Soenneker.Telnyx.Blazor.WebRtc
A Blazor WebRTC component library for Telnyx, enabling real-time communication capabilities in your Blazor applications.
Key Features
✅ Real-time WebRTC Communication Seamless voice and video calling powered by Telnyx’s browser-based WebRTC SDK.
⚙️ Automatic JS Module Bootstrapping Built-in JavaScript interop initialization with lazy loading and Blazor lifecycle integration.
🎥 High-Quality Audio & Video Calls Support for two-way audio and video with full control over microphone and webcam devices.
📞 Advanced Call Management Programmatic control over call lifecycle: initiate, answer, hangup, hold, resume, mute/unmute, deaf/undeaf, DTMF tones, and more.
🎛 Device Enumeration & Dynamic Selection Enumerate and switch between available microphones, speakers, and cameras at runtime.
📡 Custom Headers & Signaling Options Pass custom SIP headers during call setup for advanced routing or metadata requirements.
🌐 ICE Server & TURN/STUN Configuration Fully configurable ICE server settings for NAT traversal and improved connectivity in restricted networks.
📢 Comprehensive Event Notifications Capture and handle all Telnyx WebRTC events: connection, media stream, call state, device changes, stats reports, and more.
Installation
dotnet add package Soenneker.Telnyx.Blazor.WebRtc
Setup
1. Register Services
In your Program.cs
or startup file:
public static async Task Main(string[] args)
{
var builder = WebApplication.CreateBuilder(args);
// Register Telnyx WebRTC services
builder.Services.AddTelnyxWebRtcInteropAsScoped();
}
2. Component Usage
Add the TelnyxWebRtc component to your Blazor page:
@using Soenneker.Telnyx.Blazor.WebRtc
<TelnyxWebRtc @ref="_telnyxWebRtc" Options="@_options" />
@code {
private ITelnyxWebRtc? _telnyxWebRtc;
private TelnyxClientOptions _options;
protected override void OnInitialized()
{
_options = new TelnyxClientOptions
{
InitOptions = new TelnyxClientInitOptions
{
Login = "YOUR_TELNYX_LOGIN",
Password = "YOUR_TELNYX_PASSWORD"
// Set other properties as needed
}
};
}
}
Events
The component provides various events you can subscribe to:
_telnyxWebRtc.OnInitialize += HandleInitialize;
_telnyxWebRtc.OnReady += HandleReady;
_telnyxWebRtc.OnError += HandleError;
_telnyxWebRtc.OnMessage += HandleMessage;
_telnyxWebRtc.OnNotification += HandleNotification;
_telnyxWebRtc.OnCallInitiated += HandleCallInitiated;
_telnyxWebRtc.OnCallAnswered += HandleCallAnswered;
_telnyxWebRtc.OnCallHeld += HandleCallHeld;
_telnyxWebRtc.OnCallResumed += HandleCallResumed;
_telnyxWebRtc.OnCallHangup += HandleCallHangup;
...
Example Usage
Making a Call
var callOptions = new TelnyxCallOptions
{
DestinationNumber = "+1234567890",
CallerName = "John Doe",
CallerNumber = "+1987654321"
};
await _telnyxWebRtc.Call(callOptions);
Answering a Call
var answerOptions = new TelnyxAnswerOptions
{
AutoPlayAudio = true
};
await _telnyxWebRtc.Answer(answerOptions);
Hanging Up
await _telnyxWebRtc.Hangup();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 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. |
-
net9.0
- Intellenum (>= 2.0.0)
- Microsoft.AspNetCore.Components.Web (>= 9.0.8)
- Soenneker.Blazor.Extensions.EventCallback (>= 3.0.422)
- Soenneker.Blazor.Utils.InteropEventListener (>= 3.0.3706)
- Soenneker.Blazor.Utils.ResourceLoader (>= 3.0.1496)
- Soenneker.Extensions.CancellationTokens (>= 3.0.3)
- Soenneker.Quark.Components.Cancellable (>= 3.0.8)
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.0.132 | 110 | 9/10/2025 |
3.0.131 | 114 | 9/10/2025 |
3.0.130 | 110 | 9/9/2025 |
3.0.129 | 115 | 9/9/2025 |
3.0.128 | 112 | 9/9/2025 |
3.0.127 | 120 | 9/9/2025 |
3.0.126 | 122 | 9/9/2025 |
3.0.125 | 122 | 9/9/2025 |
3.0.124 | 124 | 9/9/2025 |
3.0.123 | 119 | 9/9/2025 |
3.0.122 | 120 | 9/9/2025 |
3.0.121 | 122 | 9/9/2025 |
3.0.120 | 115 | 9/9/2025 |
3.0.119 | 107 | 9/7/2025 |
3.0.118 | 100 | 9/7/2025 |
3.0.117 | 100 | 9/6/2025 |
3.0.116 | 98 | 9/6/2025 |
3.0.115 | 99 | 9/6/2025 |
3.0.114 | 101 | 9/6/2025 |
3.0.113 | 81 | 9/5/2025 |
3.0.112 | 147 | 9/4/2025 |
3.0.111 | 142 | 9/4/2025 |
3.0.110 | 139 | 9/4/2025 |
3.0.109 | 140 | 9/3/2025 |
3.0.108 | 137 | 9/3/2025 |
3.0.107 | 139 | 9/3/2025 |
3.0.106 | 134 | 9/3/2025 |
3.0.105 | 137 | 9/3/2025 |
3.0.104 | 140 | 9/3/2025 |
3.0.103 | 138 | 9/3/2025 |
3.0.102 | 135 | 9/3/2025 |
3.0.101 | 141 | 9/3/2025 |
3.0.100 | 135 | 9/3/2025 |
3.0.99 | 89 | 8/22/2025 |
3.0.98 | 112 | 8/17/2025 |
3.0.97 | 102 | 8/17/2025 |
3.0.96 | 124 | 8/15/2025 |
3.0.95 | 131 | 8/14/2025 |
3.0.94 | 133 | 8/12/2025 |
3.0.93 | 138 | 8/12/2025 |
3.0.92 | 130 | 8/12/2025 |
3.0.91 | 130 | 8/11/2025 |
3.0.90 | 129 | 8/11/2025 |
3.0.89 | 129 | 8/11/2025 |
3.0.88 | 129 | 8/11/2025 |
3.0.87 | 126 | 8/11/2025 |
3.0.86 | 124 | 8/11/2025 |
3.0.85 | 124 | 8/11/2025 |
3.0.84 | 124 | 8/11/2025 |
3.0.83 | 127 | 8/10/2025 |
3.0.82 | 129 | 8/10/2025 |
3.0.81 | 213 | 8/6/2025 |
3.0.80 | 220 | 8/5/2025 |
3.0.79 | 219 | 8/5/2025 |
3.0.78 | 221 | 8/5/2025 |
3.0.77 | 224 | 8/5/2025 |
3.0.76 | 219 | 8/5/2025 |
3.0.75 | 202 | 8/5/2025 |
3.0.74 | 197 | 8/5/2025 |
3.0.73 | 199 | 8/5/2025 |
3.0.72 | 114 | 7/30/2025 |
3.0.71 | 106 | 7/29/2025 |
3.0.70 | 457 | 7/23/2025 |
3.0.69 | 511 | 7/23/2025 |
3.0.68 | 164 | 7/17/2025 |
3.0.67 | 137 | 7/17/2025 |
3.0.66 | 135 | 7/17/2025 |
3.0.65 | 140 | 7/16/2025 |
3.0.64 | 142 | 7/15/2025 |
3.0.63 | 138 | 7/15/2025 |
3.0.62 | 136 | 7/15/2025 |
3.0.61 | 140 | 7/14/2025 |
3.0.60 | 104 | 7/13/2025 |
3.0.59 | 153 | 7/9/2025 |
3.0.58 | 139 | 7/9/2025 |
3.0.57 | 139 | 7/9/2025 |
3.0.56 | 137 | 7/9/2025 |
3.0.55 | 134 | 7/9/2025 |
3.0.54 | 139 | 7/8/2025 |
3.0.53 | 143 | 7/8/2025 |
3.0.52 | 140 | 7/8/2025 |
3.0.51 | 198 | 7/3/2025 |
3.0.50 | 144 | 7/3/2025 |
3.0.49 | 148 | 7/3/2025 |
3.0.48 | 163 | 7/1/2025 |
3.0.47 | 125 | 6/28/2025 |
3.0.46 | 99 | 6/28/2025 |
3.0.45 | 97 | 6/28/2025 |
3.0.44 | 70 | 6/28/2025 |
3.0.43 | 77 | 6/28/2025 |
3.0.42 | 77 | 6/27/2025 |
3.0.41 | 76 | 6/27/2025 |
3.0.40 | 82 | 6/27/2025 |
3.0.39 | 144 | 6/25/2025 |
3.0.38 | 144 | 6/25/2025 |
3.0.37 | 387 | 6/12/2025 |
3.0.36 | 293 | 6/11/2025 |
3.0.35 | 292 | 6/11/2025 |
3.0.34 | 289 | 6/11/2025 |
3.0.33 | 164 | 6/3/2025 |
3.0.32 | 154 | 6/3/2025 |
3.0.31 | 149 | 6/2/2025 |
3.0.30 | 186 | 5/28/2025 |
3.0.29 | 154 | 5/28/2025 |
3.0.28 | 154 | 5/28/2025 |
3.0.27 | 153 | 5/27/2025 |
3.0.26 | 149 | 5/27/2025 |
3.0.25 | 150 | 5/27/2025 |
3.0.24 | 150 | 5/27/2025 |
3.0.23 | 150 | 5/27/2025 |
3.0.22 | 150 | 5/26/2025 |
3.0.21 | 108 | 5/25/2025 |
3.0.20 | 103 | 5/25/2025 |
3.0.19 | 103 | 5/23/2025 |
3.0.18 | 105 | 5/23/2025 |
3.0.17 | 100 | 5/23/2025 |
3.0.16 | 120 | 5/23/2025 |
3.0.15 | 132 | 5/23/2025 |
3.0.14 | 131 | 5/23/2025 |
3.0.13 | 156 | 5/23/2025 |
3.0.12 | 157 | 5/22/2025 |
3.0.11 | 144 | 5/22/2025 |
3.0.10 | 150 | 5/22/2025 |
3.0.9 | 159 | 5/19/2025 |
3.0.8 | 149 | 5/18/2025 |
3.0.7 | 105 | 5/18/2025 |
3.0.6 | 239 | 5/15/2025 |
3.0.5 | 228 | 5/15/2025 |
3.0.4 | 235 | 5/15/2025 |
3.0.3 | 233 | 5/14/2025 |
3.0.2 | 231 | 5/14/2025 |
3.0.1 | 228 | 5/14/2025 |