Reason for revert: Breaks internal project. Original issue's description: > Rename AppRTCDemo on Android and iOS to AppRTCMobile > > The purpose is to make it clearer it is a mobile application. > > BUG=webrtc:6359 > NOPRESUBMIT=true > > Committed: https://crrev.com/d3af58bdab5b25acd62cd816363becc7003d3e5a > Cr-Commit-Position: refs/heads/master@{#14356} TBR=sakal@webrtc.org,kthelgason@webrtc.org,tommi@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=webrtc:6359 Review-Url: https://codereview.webrtc.org/2358133003 Cr-Commit-Position: refs/heads/master@{#14358}
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
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 AppRTCDemo
|
|
adb install -r out/Default/apks/AppRTCDemo.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
|
|
|