AntMedia.Net.iOS 2.17.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package AntMedia.Net.iOS --version 2.17.2.1
                    
NuGet\Install-Package AntMedia.Net.iOS -Version 2.17.2.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="AntMedia.Net.iOS" Version="2.17.2.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AntMedia.Net.iOS" Version="2.17.2.1" />
                    
Directory.Packages.props
<PackageReference Include="AntMedia.Net.iOS" />
                    
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 AntMedia.Net.iOS --version 2.17.2.1
                    
#r "nuget: AntMedia.Net.iOS, 2.17.2.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 AntMedia.Net.iOS@2.17.2.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=AntMedia.Net.iOS&version=2.17.2.1
                    
Install as a Cake Addin
#tool nuget:?package=AntMedia.Net.iOS&version=2.17.2.1
                    
Install as a Cake Tool

AntMedia.Net

.NET bindings for the Ant Media WebRTC SDKs, for .NET MAUI and .NET for Android / iOS apps. Publish and play WebRTC streams through an Ant Media Server from C#.

Package Platforms Target frameworks
AntMedia.Net Android, iOS net8.0, net9.0, net10.0
AntMedia.Net.Android Android net8.0-android34.0, net9.0-android35.0, net10.0-android36.0
AntMedia.Net.iOS iOS net8.0-ios18.0, net9.0-ios18.0, net10.0-ios26.0
dotnet add package AntMedia.Net

AntMedia.Net is a metapackage: it pulls in the right platform binding for whichever target framework you build. Reference a platform package directly if your project only targets one.

What is bound

Android binds WebRTC-Android-SDK whole. One .aar carries both io.antmedia.webrtcandroidframework and org.webrtc, so the full native API surface — including IWebRTCClient, the builder configuration and the org.webrtc renderer views — is available.

iOS binds WebRTC-iOS-SDK through an @objc facade this repository maintains. The upstream SDK is Swift and exposes essentially nothing to Objective-C, so there is nothing for a .NET binding to attach to; native/ios/Facade re-exposes the client API as @objc types (AMSClient, AMSClientDelegate, AMSMode, AMSStreamInformation) and is compiled into the framework. That facade is the iOS API surface — see docs/BUILD.md for why, and for what is deliberately left out of it.

Mac Catalyst is not supported. Neither of Ant Media's iOS xcframeworks ships a Catalyst slice.

Sample

samples/AntMedia.Net.Sample is a MAUI app that publishes and plays a stream against an Ant Media Server of your choosing.

Building

See docs/BUILD.md. In short:

./native/android/fetch-android.sh     # builds the .aar from source (JDK 17 + Android SDK)
./native/ios/fetch-ios.sh             # builds the xcframework with the facade (macOS + Xcode)
./build/BuildNugets.sh                # packs everything into ./artifacts

Licence

The binding code is MIT. The bundled Ant Media SDKs are MIT, and the WebRTC.xcframework shipped in the iOS package is Ant Media's build of libwebrtc, which carries its own BSD licence.

Product Compatible and additional computed target framework versions.
.NET net8.0-ios18.0 is compatible.  net9.0-ios was computed.  net9.0-ios18.0 is compatible.  net10.0-ios was computed.  net10.0-ios26.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0-ios26.0

    • No dependencies.
  • net8.0-ios18.0

    • No dependencies.
  • net9.0-ios18.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AntMedia.Net.iOS:

Package Downloads
AntMedia.Net

One API over the Ant Media WebRTC SDKs for Android, iOS and Mac Catalyst: publish and play streams with awaitable calls and ordinary .NET events, instead of writing a per-platform adapter over a Java listener interface and an Objective-C delegate. Pulls in the platform binding that matches whichever target framework you build. For .NET MAUI apps, add AntMedia.Net.Maui for the video view.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.17.2.6 97 7/27/2026
2.17.2.5 107 7/25/2026
2.17.2.4 100 7/24/2026
2.17.2.3 101 7/22/2026
2.17.2.2 97 7/22/2026
2.17.2.1 107 7/22/2026
2.17.2-beta.3.15 60 7/22/2026
2.17.2-beta.2.6 52 7/22/2026
2.17.2-beta.2.4 54 7/22/2026
2.17.2-beta.1.1 54 7/22/2026
1.0.0.1-beta1 244 2/9/2024