Recursively clone this repo to obtain all the source code needed to build WebRTC for UWP
Latest commit 115ca37 Sep 27, 2018

README.md

Instructions

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.

Directory structure:

  • 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

Prerequisites:

Known Issues:

  • 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.

Windows Build

  1. 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.
  1. From VS2017, load webrtc\windows\solutions\WebRtc.sln for WebRtc development.

  2. Now you can build UWP libraries for WebRtc and deploy sample app PeerCC.