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:

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:

mkdir webrtc_git
cd webrtc_git
gclient config --name=trunk
gclient sync
cd trunk

On Linux don’t forget to install both ALSA and PulseAudio libs:

sudo apt-get install libpulse-dev libasound2-dev