You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
linphone-tutorials/uwp/cs/02_IncomingCall
Thibault Lemaire aca479888a
Give the UWP Tutorial a little refresher
3 years ago
..
Assets Tutorial for LinphoneSDK x UWP - C# 3 years ago
Properties Tutorial for LinphoneSDK x UWP - C# 3 years ago
Service Give the UWP Tutorial a little refresher 3 years ago
Views Give the UWP Tutorial a little refresher 3 years ago
02_IncomingCall.csproj Give the UWP Tutorial a little refresher 3 years ago
App.xaml Tutorial for LinphoneSDK x UWP - C# 3 years ago
App.xaml.cs Tutorial for LinphoneSDK x UWP - C# 3 years ago
Package.appxmanifest Tutorial for LinphoneSDK x UWP - C# 3 years ago
Readme.md Give the UWP Tutorial a little refresher 3 years ago

Readme.md

Linphone X UWP tutorial 02_IncomingCall

This time we are going to receive our first calls !

The architecture of the first two tutorials was a bit simple for a larger app, so we moved things a bit. All the core-related code (creation, iterate, log in...) is now in the class Service/CoreService.

The LoginPage now redirects to a new page (NavigationRoot) this page only contains a NavigationView. If you are unfamiliar with NavigationView you can take a look at the NavigationView doc, but this is not mandatory since it contains no Linphone code and is only here for navigation.

By default the NavigationView loads the new CallsPage (the only one for now), on this page you can answer or decline incoming calls.

If you don't have SIP friends to test with, you can also install Linphone on your mobile device (Android or iOS) and call yourself with a different account.

New/updated files :

02_outgoing_call
│
│   Package.appxmanifest : For this step we added new capabilities : Microphone, VOIP calling
│   
└───Service :
│   │   CoreService.cs : A singleton service which contains the Linphone.Core. 
│   │               You can find here all the previous tutorial code and the new code 
│   │               for calls !
│   │
│
│
└───Views :
│   │   CallsPage.xaml(.cs) : This is the new page from which you can make calls.
│   │                         Also contains new Linphone-related code.
│   │       
│   │   LoginPage.xaml(.cs) : The same login page as the previous step, now in its own file.
│   │
│   │   NavigationRoot.xaml(.cs) : The new page containing the NavigationView and the main app Frame.
│