README
1 This directory contains a sample app for sending and receiving video and audio
2 on Android. It further lets you enable and disable some call quality
3 enhancements such as echo cancellation, noise suppression etc.
4
5 Prerequisites:
6 - Make sure gclient is checking out tools necessary to target Android: your
7 .gclient file should contain a line like:
8 target_os = ['android']
9 Make sure to re-run gclient sync after adding this to download the tools.
10 - Env vars need to be set up to target Android; easiest way to do this is to run
11 (from the libjingle trunk directory):
12 . ./build/android/envsetup.sh
13 Note that this clobbers any previously-set $GYP_DEFINES so it must be done
14 before the next item.
15 - Set up webrtc-related GYP variables:
16 export GYP_DEFINES="$GYP_DEFINES java_home=</path/to/JDK>"
17 - Finally, run "gclient runhooks" to generate Android-targeting .ninja files.
18
19 Example of building the app:
20 cd <path/to/repository>/trunk
21 ninja -C out/Debug WebRTCDemo
22
23 It can then be installed and run on the device:
24 adb install -r out/Debug/WebRTCDemo-debug.apk