-
Notifications
You must be signed in to change notification settings - Fork 13
Home
Sergei Bokatuk edited this page Feb 26, 2021
·
1 revision
This repository contains samples of using Xamarin Agora.io FULL SDK Nuget packages
also contains a basic sample for Agora WebRTC
-
Run app on any 2 devices
-
Enter same room name on both devices
-
Click Join button
-
Prepare Agora App ID, you can follow Obtaining an App ID instructions to get your App ID.
-
Replace the following empty string with the corresponding App ID:
- For Android/iOS app DT.Samples.Agora.Shared/AgoraTestConstants.cs
public const string AgoraAPI = "";
public const string AgoraKey = "<AgoraKey>";
protected const string AgoraKey = "<AgoraKey>";
- For WebRTC app enter the key on UI or in the code Web/webrtc/index.html
vendorKey = ...
In this repository you can find OneToOne Communication apps for Android, iOS, Mac, Forms and Web
-
Xamarin Android, iOS and MacOS apps in one solution /DT.Samples.Agora.OneToOne.sln
-
Xamarin Forms (iOS, Android, MacOS) apps in one solution Forms/Xamarin.Agora.Forms/Forms.sln
-
Agora WebRTC usage example in /Web/webrtc
Xamarin.Forms iOS
![](https://raw.githubusercontent.com/DreamTeamMobile/Xamarin.Agora.Samples/master/Screenshots/Forms/AgoraXamarinFormsiOS_00.png)
![](https://raw.githubusercontent.com/DreamTeamMobile/Xamarin.Agora.Samples/master/Screenshots/Forms/AgoraXamarinFormsiOS_01.png)
Xamarin.Forms Android
![](https://raw.githubusercontent.com/DreamTeamMobile/Xamarin.Agora.Samples/master/Screenshots/Forms/AgoraXamarinFormsAndroid_00.png)
![](https://raw.githubusercontent.com/DreamTeamMobile/Xamarin.Agora.Samples/master/Screenshots/Forms/AgoraXamarinFormsAndroid_01.png)
Xamarin.Forms MacOS
![](https://raw.githubusercontent.com/DreamTeamMobile/Xamarin.Agora.Samples/master/Screenshots/Forms/AgoraXamarinFormsMacOS_00.png)
![](https://raw.githubusercontent.com/DreamTeamMobile/Xamarin.Agora.Samples/master/Screenshots/Forms/AgoraXamarinFormsMacOS_01.png)