1
0
Fork 0
firefox/third_party/libwebrtc/examples/androidapp
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00
..
res Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
src/org/appspot/apprtc Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
third_party/autobanh Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
AndroidManifest.xml Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
ant.properties Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
build.xml Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
OWNERS Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
project.properties Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
README Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
start_loopback_stubbed_camera_saved_video_out.py Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00

This directory contains an example Android client for https://appr.tc

Prerequisites:
- "Getting the code", "Compiling", and "Using the Bundled Android SDK/NDK"
  on http://www.webrtc.org/native-code/android

Example of building & using the app:

cd <path/to/webrtc>/src
ninja -C out/Default AppRTCMobile
adb install -r out/Default/apks/AppRTCMobile.apk

In desktop chrome, navigate to https://appr.tc and note the r=<NNN> room
this redirects to or navigate directly to https://appr.tc/r/<NNN> with
your own room number. Launch AppRTC on the device and add same <NNN> into the room name list.

You can also run application from a command line to connect to the first room in a list:
adb shell am start -n org.appspot.apprtc/.ConnectActivity -a android.intent.action.VIEW
This should result in the app launching on Android and connecting to the 3-dot-apprtc
page displayed in the desktop browser.
To run loopback test execute following command:
adb shell am start -n org.appspot.apprtc/.ConnectActivity -a android.intent.action.VIEW --ez "org.appspot.apprtc.LOOPBACK" true