You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1.0 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. This directory contains an example Android client for https://appr.tc
  2. Prerequisites:
  3. - "Getting the code", "Compiling", and "Using the Bundled Android SDK/NDK"
  4. on http://www.webrtc.org/native-code/android
  5. Example of building & using the app:
  6. cd <path/to/webrtc>/src
  7. ninja -C out/Default AppRTCMobile
  8. adb install -r out/Default/apks/AppRTCMobile.apk
  9. In desktop chrome, navigate to https://appr.tc and note the r=<NNN> room
  10. this redirects to or navigate directly to https://appr.tc/r/<NNN> with
  11. your own room number. Launch AppRTC on the device and add same <NNN> into the room name list.
  12. You can also run application from a command line to connect to the first room in a list:
  13. adb shell am start -n org.appspot.apprtc/.ConnectActivity -a android.intent.action.VIEW
  14. This should result in the app launching on Android and connecting to the 3-dot-apprtc
  15. page displayed in the desktop browser.
  16. To run loopback test execute following command:
  17. adb shell am start -n org.appspot.apprtc/.ConnectActivity -a android.intent.action.VIEW --ez "org.appspot.apprtc.LOOPBACK" true