EPEL7 - sukinull/libwebrtc GitHub Wiki
Package dependency
- Groups
Development Tools
- Packages
subversion
pkg-config
java-1.7.0-openjdk-devel
expat-devel
gtk2-devel
nss-devel
openssl-devel
pulseaudio-libs-devel
systemd-devel
EPEL 7 Only, (CentOS 7, Scientific Linux 7, RedHat 7)
- Download latest depot_tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
- Add depot_tools folder to your environmental variables PATH
export PATH=$HOME/Build/depot_tools:$PATH
export JAVA_HOME=/usr/lib/jvm/java-1.8.0
export GYP_DEFINES="use_openssl=1"
- (Optional) For 32-bit compilation set target_arch *1
export GYP_DEFINES="$GYP_DEFINES target_arch=ia32"
- fetch webrtc, source *1 shows 3.52 is most stable(?)
mkdir webrtc-checkout
cd webrtc-checkout
fetch webrtc
- Download libwebrtc and dependencies
gclient sync --force
gclient sync --force
Build
- Very straightforward
gclient runhooks --force
ninja -C out/Debug
ninja -C out/Release
If you don't need Video and Audio(TODO)
Notes
*1) Is not tested. Source is here Building the code for Linux