Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: webrtc/examples/androidapp/README

Issue 1235563006: Move talk/examples/* to webrtc/examples. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 201508051337 Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This directory contains an example Android client for https://apprtc.appspot.com 1 This directory contains an example Android client for https://apprtc.appspot.com
2 2
3 Prerequisites: 3 Prerequisites:
4 - "Getting the code" on http://www.webrtc.org/native-code/android 4 - "Getting the code" on http://www.webrtc.org/native-code/android
5 - Set up webrtc-related GYP variables: 5 - Set up webrtc-related GYP variables:
6 export GYP_DEFINES="build_with_libjingle=1 build_with_chromium=0 libjingle_jav a=1 6 export GYP_DEFINES="build_with_libjingle=1 build_with_chromium=0 libjingle_jav a=1
7 OS=android $GYP_DEFINES" 7 OS=android $GYP_DEFINES"
8 To cause WEBRTC_LOGGING to emit to Android's logcat, add enable_tracing=1 to 8 To cause WEBRTC_LOGGING to emit to Android's logcat, add enable_tracing=1 to
9 the $GYP_DEFINES above. 9 the $GYP_DEFINES above.
10 - When targeting both desktop & android, make sure to use a different output_dir 10 - When targeting both desktop & android, make sure to use a different output_dir
(...skipping 14 matching lines...) Expand all
25 this redirects to or navigate directly to https://apprtc.appspot.com/r/<NNN> wit h 25 this redirects to or navigate directly to https://apprtc.appspot.com/r/<NNN> wit h
26 your own room number. Launch AppRTC on the device and add same <NNN> into the ro om name list. 26 your own room number. Launch AppRTC on the device and add same <NNN> into the ro om name list.
27 27
28 You can also run application from a command line to connect to the first room in a list: 28 You can also run application from a command line to connect to the first room in a list:
29 adb shell am start -n org.appspot.apprtc/.ConnectActivity -a android.intent.acti on.VIEW 29 adb shell am start -n org.appspot.apprtc/.ConnectActivity -a android.intent.acti on.VIEW
30 This should result in the app launching on Android and connecting to the 3-dot-a pprtc 30 This should result in the app launching on Android and connecting to the 3-dot-a pprtc
31 page displayed in the desktop browser. 31 page displayed in the desktop browser.
32 To run loopback test execute following command: 32 To run loopback test execute following command:
33 adb shell am start -n org.appspot.apprtc/.ConnectActivity -a android.intent.acti on.VIEW --ez "org.appspot.apprtc.LOOPBACK" true 33 adb shell am start -n org.appspot.apprtc/.ConnectActivity -a android.intent.acti on.VIEW --ez "org.appspot.apprtc.LOOPBACK" true
34 34
OLDNEW
« no previous file with comments | « webrtc/examples/androidapp/AndroidManifest.xml ('k') | webrtc/examples/androidapp/ant.properties » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698