Xamarin Android WebRTC Sample app
you need up running Ant Media Server, detailed explanation here
-
add nuget package DT.Xamarin.AntMedia.WebRTC.Android
no additional steps required to init that package, all namespaces are equal to original framework -
then you can use
- our Step by Step Xamarin Tutorial to Create app
- Ant Media iOS Sample documentation
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
-
Start from ..DT.Xamarin.AntMedia.Samples.sln
-
replace constant to your server addres in ..DT.Configuration/InitialData.cs
public const string SERVER_ADDRESS = "domain-name.com:5080";
- click Run button in Visual Studio.