• Home
Name Date Size #Lines LOC

..--

jni/03-May-2024-1,5911,202

res/03-May-2024-344343

src/org/webrtc/webrtcdemo/03-May-2024-2,4771,886

AndroidManifest.xmlD03-May-20241.5 KiB2928

READMED03-May-20241 KiB2421

build.xmlD03-May-2024688 1615

project.propertiesD03-May-2024562 1512

README

1This directory contains a sample app for sending and receiving video and audio
2on Android. It further lets you enable and disable some call quality
3enhancements such as echo cancellation, noise suppression etc.
4
5Prerequisites:
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
19Example of building the app:
20cd <path/to/repository>/trunk
21ninja -C out/Debug WebRTCDemo
22
23It can then be installed and run on the device:
24adb install -r out/Debug/WebRTCDemo-debug.apk