Use the new appr.tc URL
BUG=none Review URL: https://codereview.webrtc.org/1883923003 Cr-Commit-Position: refs/heads/master@{#12380}
This commit is contained in:
@ -32,8 +32,8 @@
|
|||||||
<action android:name="android.intent.action.VIEW"/>
|
<action android:name="android.intent.action.VIEW"/>
|
||||||
<category android:name="android.intent.category.DEFAULT"/>
|
<category android:name="android.intent.category.DEFAULT"/>
|
||||||
<category android:name="android.intent.category.BROWSABLE"/>
|
<category android:name="android.intent.category.BROWSABLE"/>
|
||||||
<data android:scheme="https" android:host="apprtc.appspot.com"/>
|
<data android:scheme="https" android:host="appr.tc"/>
|
||||||
<data android:scheme="http" android:host="apprtc.appspot.com"/>
|
<data android:scheme="http" android:host="appr.tc"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
This directory contains an example Android client for https://apprtc.appspot.com
|
This directory contains an example Android client for https://appr.tc
|
||||||
|
|
||||||
Prerequisites:
|
Prerequisites:
|
||||||
- "Getting the code" on http://www.webrtc.org/native-code/android
|
- "Getting the code" on http://www.webrtc.org/native-code/android
|
||||||
@ -18,8 +18,8 @@ cd <path/to/webrtc>/src
|
|||||||
ninja -C out/Debug AppRTCDemo
|
ninja -C out/Debug AppRTCDemo
|
||||||
adb install -r out/Debug/apks/AppRTCDemo.apk
|
adb install -r out/Debug/apks/AppRTCDemo.apk
|
||||||
|
|
||||||
In desktop chrome, navigate to https://apprtc.appspot.com and note the r=<NNN> room
|
In desktop chrome, navigate to https://appr.tc and note the r=<NNN> room
|
||||||
this redirects to or navigate directly to https://apprtc.appspot.com/r/<NNN> with
|
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.
|
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:
|
You can also run application from a command line to connect to the first room in a list:
|
||||||
|
|||||||
@ -119,7 +119,7 @@
|
|||||||
<string name="pref_room_server_url_key">room_server_url_preference</string>
|
<string name="pref_room_server_url_key">room_server_url_preference</string>
|
||||||
<string name="pref_room_server_url_title">Room server URL.</string>
|
<string name="pref_room_server_url_title">Room server URL.</string>
|
||||||
<string name="pref_room_server_url_dlg">Enter a room server URL.</string>
|
<string name="pref_room_server_url_dlg">Enter a room server URL.</string>
|
||||||
<string name="pref_room_server_url_default" translatable="false">https://apprtc.appspot.com</string>
|
<string name="pref_room_server_url_default" translatable="false">https://appr.tc</string>
|
||||||
|
|
||||||
<string name="pref_displayhud_key">displayhud_preference</string>
|
<string name="pref_displayhud_key">displayhud_preference</string>
|
||||||
<string name="pref_displayhud_title">Display call statistics.</string>
|
<string name="pref_displayhud_title">Display call statistics.</string>
|
||||||
|
|||||||
@ -26,7 +26,7 @@ import org.webrtc.IceCandidate;
|
|||||||
import org.webrtc.SessionDescription;
|
import org.webrtc.SessionDescription;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Negotiates signaling for chatting with apprtc.appspot.com "rooms".
|
* Negotiates signaling for chatting with https://appr.tc "rooms".
|
||||||
* Uses the client<->server specifics of the apprtc AppEngine webapp.
|
* Uses the client<->server specifics of the apprtc AppEngine webapp.
|
||||||
*
|
*
|
||||||
* <p>To use: create an instance of this object (registering a message handler) and
|
* <p>To use: create an instance of this object (registering a message handler) and
|
||||||
|
|||||||
@ -23,7 +23,7 @@ import java.util.Scanner;
|
|||||||
*/
|
*/
|
||||||
public class AsyncHttpURLConnection {
|
public class AsyncHttpURLConnection {
|
||||||
private static final int HTTP_TIMEOUT_MS = 8000;
|
private static final int HTTP_TIMEOUT_MS = 8000;
|
||||||
private static final String HTTP_ORIGIN = "https://apprtc.appspot.com";
|
private static final String HTTP_ORIGIN = "https://appr.tc";
|
||||||
private final String method;
|
private final String method;
|
||||||
private final String url;
|
private final String url;
|
||||||
private final String message;
|
private final String message;
|
||||||
|
|||||||
Reference in New Issue
Block a user