Similar to Mixed Remote View Compositor from MixedRealityCompanionKit, WebRTC Mixed Remote View Compositor (WebRTC MRVC) provides the ability for developers to incorporate near real-time viewing of HoloLens experiences from within a viewing application. This is achieved through low level Media Foundation components that use WebRTC to transmit the data from the device to a remote pc viewing application. Through the Media Foundation capture pipeline, WebRTC captures and encodes the live camera data with its associated data. The data is then transmitted to the remote viewing application that will be decoded and displayed with respect to the device transformations. This sample uses Urho as the rendering engine on both desktop and HoloLens.
- Windows 10 Anniversary Update
- Visual Studio 2017
- Windows 10 SDK - 10.0.14393.795
- From your terminal, recursively clone this repo to obtain all the source code needed to build the sample: git clone --recursive https://github.com/phongcao/webrtc-mrvc-sample.git
- Run
.\setup.cmd
from the Windows command line to download and build WebRTC components. - Open the
WebRTCMRVCSample
solution in Visual Studio, build and deployUrhoUWPHoloLens
project for HoloLens andUrhoUWPDesktop
project for the desktop (the remote pc viewing application).
- Connect both HoloLens and desktop apps to the same signaling server.
- Issue voice command
Call
on HoloLens to initialize the capturing process.