Checking out WebRTC with git
The default instructions for getting started with WebRTC (can be found here) use the SVN repository to check out.
As it turns out, there is also a git version of the repository: http://git.chromium.org/external/webrtc.git
But how to use it? We have to adapt the gclient command a bit because all the tools expect WebRTC to be in the 'trunk' directory. Here's the magic bit that makes it all work:
1
2
3
4
5
6
mkdir webrtc_git
cd webrtc_git
gclient config --name=trunk http://git.chromium.org/external/webrtc.git
gclient sync
cd trunk
make
On Linux don't forget to install both ALSA and PulseAudio libs:
1
sudo apt-get install libpulse-dev libasound2-dev
This post is licensed under CC BY 4.0 by the author.