BelledonneCommunications / linphone-windows10

Linphone.org mirror for linphone-windows10 (git://git.linphone.org/linphone-windows10.git)
GNU General Public License v2.0
15 stars 27 forks source link

pipeline status

This project is a code sample application demonstrating the use of liblinphone in C# within a Windows UWP application. Initially, this project was running on UWP phone devices, but is no longer maintained for this target since these devices disapeared. This project is still maintained with low activity as a way to demonstrate and validate the UWP mode of linphone-sdk NuPkg. It has no objective of becoming a complete and production ready softphone. For the full Linphone application for desktop (Windows, Linux, Mac OS), please visit https://gitlab.linphone.org/BC/public/linphone-desktop instead.

Get Linphone SDK

From packages

Get LinphoneSDK from releases folder : https://www.linphone.org/releases/windows/sdk
Or snapshots for nighlty versions : https://www.linphone.org/snapshots/windows/sdk

From Source

Build the Nuget package from https://gitlab.linphone.org/BC/public/linphone-sdk The build options for this Windows10 project is: cmake.exe .. -G "Visual Studio 15 2017" -DLINPHONESDK_PLATFORM=UWP -DCMAKE_BUILD_TYPE=RelWithDebInfo

Building the application

Limitations and known bugs

Note for developpers

YOU CAN'T PASS A NULL STRING FROM C# TO C++/CX (it has to be empty) AND YOU CAN'T RECEIVE A NULL STRING FROM C++/CX (It will always be an empty string). See http://stackoverflow.com/questions/12980915/exception-when-trying-to-read-null-string-in-c-sharp-winrt-component-from-winjs

Application permissions

Since Windows Fall Creator update, at the first use, Linphone will require your permission before it can access your contacts, your microphone and your camera which you can accept or not. But sometimes you might want to run automatic tests on Linphone and can't be around to manually accept these permissions. If that's the case, you can force authorizations of applications. To do so, you have to open gpedit.msc and go to:

    Computer Configuration\Administrative Templates\Windows Components\App Privacy

In the right pane, double click on the concerned permissions (camera, contacts and microphone for Linphone), select Enabled and select Force authorization in options.