DT.Xamarin.AntMedia.WebRTC.Forms
0.9.5
See the version list below for details.
dotnet add package DT.Xamarin.AntMedia.WebRTC.Forms --version 0.9.5
NuGet\Install-Package DT.Xamarin.AntMedia.WebRTC.Forms -Version 0.9.5
<PackageReference Include="DT.Xamarin.AntMedia.WebRTC.Forms" Version="0.9.5" />
paket add DT.Xamarin.AntMedia.WebRTC.Forms --version 0.9.5
#r "nuget: DT.Xamarin.AntMedia.WebRTC.Forms, 0.9.5"
// Install DT.Xamarin.AntMedia.WebRTC.Forms as a Cake Addin
#addin nuget:?package=DT.Xamarin.AntMedia.WebRTC.Forms&version=0.9.5
// Install DT.Xamarin.AntMedia.WebRTC.Forms as a Cake Tool
#tool nuget:?package=DT.Xamarin.AntMedia.WebRTC.Forms&version=0.9.5
Xamarin Forms WebRTC Sample app
Please follow our WiKi to find information:
Step by Step Tutorial how to add AntMedia WebRTC to Forms app
How to use nuget
to all projects, Core, iOS, Android - add nuget package DT.Xamarin.AntMedia.WebRTC.Forms
to Android project - add nuget package DT.Xamarin.AntMedia.WebRTC.Android
to iOS project - add nuget package DT.Xamarin.AntMedia.WebRTC.iOS <br> add
[assembly: ExportRenderer(typeof(AntWebRTCView), typeof(AntWebRTCViewRenderer))]
to AppDelegate.cs, outside of namespacesusing DT.Xamarin.AntMedia.WebRTC.Forms; using DT.Xamarin.AntMedia.WebRTC.Forms.iOS; using Foundation; using UIKit; using Xamarin.Forms; [assembly: ExportRenderer(typeof(AntWebRTCView), typeof(AntWebRTCViewRenderer))] namespace DT.WebRTC.Forms.iOS ...
add reference to framework on page or some view in Core project
xmlns:ant="clr-namespace:DT.Xamarin.AntMedia.WebRTC.Forms;assembly=DT.Xamarin.AntMedia.WebRTC.Forms"
and use special control
<ant:AntWebRTCView x:Name="AntFrame" Grid.Column="0" Grid.ColumnSpan="3" Grid.Row="1" RenderingMode="ScaleAspectFit" WebRTCMode="Publish" Camera="Front" ShowDebugLogs="True" InitMode="InitOnViewRender" PlayStarted="AntFrame_Refresh" PlayFinished="AntFrame_Refresh" PublishStarted="AntFrame_Refresh" PublishFinished="AntFrame_Refresh" Error="AntFrame_Error" />
to Start or Stop stream call where you need
void SomeActionButton_Clicked(System.Object sender, System.EventArgs e) { if (AntFrame.IsPublishing || AntFrame.IsPlaying) { AntFrame.Stop(); DelayedRestart();//if publishing that will make rendering from camera to layout as preview } else { AntFrame.Start(); } }
then you can use our Documentation for detailed description on controls
or simple Tutorial
What available in our sample
Simple copy of AntMedia sample app with all basic video call functions:
- Start/Stop Publishing WebRTC stream
- Start/Stop Playing WebRTC stream
- Init to preview from camera before start publishing
- Mute audio
- Mute video
- Switch camera
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 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. monoandroid10 is compatible. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. xamarinios10 is compatible. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Xamarin.Forms (>= 4.8.0.1560)
-
MonoAndroid 1.0
- Xamarin.Agora.Full.Android (>= 0.9.0)
- Xamarin.Forms (>= 4.8.0.1560)
-
Xamarin.iOS 1.0
- Xamarin.Agora.Full.iOS (>= 0.9.0)
- Xamarin.Forms (>= 4.8.0.1560)
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 |
---|---|---|
1.2.2 | 3,924 | 1/18/2021 |
1.2.1 | 342 | 1/18/2021 |
1.1.0 | 432 | 12/3/2020 |
1.0.9 | 398 | 12/3/2020 |
1.0.8 | 394 | 12/3/2020 |
1.0.7 | 378 | 12/3/2020 |
1.0.6 | 537 | 11/8/2020 |
1.0.3 | 414 | 11/3/2020 |
1.0.2 | 420 | 11/3/2020 |
1.0.1 | 430 | 11/3/2020 |
1.0.0 | 466 | 11/3/2020 |
0.9.9 | 483 | 10/30/2020 |
0.9.8 | 409 | 10/30/2020 |
0.9.7 | 436 | 10/21/2020 |
0.9.6 | 459 | 10/21/2020 |
0.9.5 | 440 | 10/20/2020 |
0.9.4 | 453 | 10/20/2020 |
0.9.3 | 485 | 10/20/2020 |
0.9.2 | 500 | 10/19/2020 |
0.9.1 | 432 | 10/19/2020 |
0.9.0 | 434 | 10/19/2020 |
Custom Forms SDK based on native bindings of Ant Media Free WebRTC SDKs made by DreamTeam-Mobile
for Documentation, how to use this SDK, Tutorial and Xamarin samples go to https://github.com/DreamTeamMobile/Xamarin.AntMedia.Samples
native versions:
WebRTCAndroidFramework_29_July_2020-sf0vyq
WebRTCiOSReferenceProject_10_Aug_2020-o0odv5