WebRTC example demonstrating interaction between browser WebRTC and libwebrtc:
server: Handles signaling betweenclientandapp.client: Captures and sends video frames.app: Receives, transforms and sends back video frames.
📦 Requirements:
🧪 Tested on:
- Linux
- Mac
- Windows
Intall server.
cd server
npm install
Intall client.
cd client
npm install
Build WebRTC.
cd app
python ./scripts/build_webrtc.py run --branch "branch-heads/7204"
- Output:
./external/webrtc/
Build app.
cd app
vcpkg install
python ./scripts/build.py
- Output:
./build/Release/webrtc-example-app.exe
Run server.
cd server
npm start
Run client.
cd client
npm start
Run app.
cd app
./build/Release/webrtc-example-app.exe