Build WebRTC-Streamer from source
masterBuilding the project requires installing Chromium depot tools, downloading the WebRTC source, and using CMake with Clang.
CMake Parameters:
WEBRTCROOT: Path to the WebRTC source directory (default is$(pwd)/../webrtc).WEBRTCDESKTOPCAPTURE: Enables desktop capture if available (default isON).
# 1. Install Chromium depot tools
pushd ..
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export PATH=$PATH:`realpath depot_tools`
popd
# 2. Download WebRTC
mkdir ../webrtc
pushd ../webrtc
fetch webrtc
popd
# 3. Build WebRTC Streamer
export PATH=$PATH:`realpath ../webrtc/src/third_party/llvm-build/Release+Asserts/bin`
cmake -DCMAKE_C_COMPILER=clang .
make