From your terminal, recursively clone this repo to obtain all the source code needed to build WebRTC for UWP: git clone --recursive https://github.com/webrtc-uwp/webrtc-uwp-sdk.git
This repository will yield the WebRtc SDK and dependency libraries.
- webrtc-uwp-sdk\bin contains scripts for preparing an environment for the Windows
- webrtc-uwp-sdk\common contains samples applications (ChatterBox and PeerCC)
- webrtc-uwp-sdk\webrtc contains WebRtc code
- webrtc-uwp-sdk\docs contains documentation
- Visual Studio 2017 (latest tested version tested 15.8.1); Community Edition is supported
- Windows SDK 17134 (available from archive page https://developer.microsoft.com/en-us/windows/downloads/sdk-archive)
- C++/WinRT Visual Studio extension (https://marketplace.visualstudio.com/items?itemName=CppWinRTTeam.cppwinrt101804264)
- When installing the SDK, include the feature "Debugging Tools for Windows" which is required to run prepare.bat. Note that the SDK install as part of Visual Studio does not include this feature.
- The minimum required Windows version to deploy apps is 1703 / Build 10.0.15063 / Anniversary Update
- ARM is currently unsupported (but under development). For ARM support, use M54 or earlier releases.
- Audio device selection was removed from the Google WebRTC APIs, and is therefore no longer supported here. Playback occurs on the default device as specified by Windows.
- Due to the Windows limit on path length it is recommended to clone close to the root. C:\repos\my-branch is known to work, longer paths may fail.
- Run prepare script, from your terminal:
cd webrtc-uwp-sdk bin\prepare.bat
This script will prepare environment but it won't build webrtc projects. In this case webrtc project will be built from Visual Studio once you try to build Org.WebRtc.
From VS2017, load webrtc\windows\solutions\WebRtc.sln for WebRtc development.
Now you can build UWP libraries for WebRtc and deploy sample app PeerCC.