From dccbc5e9466530c65506f66ba0996dce95a61a90 Mon Sep 17 00:00:00 2001 From: jansson Date: Fri, 15 Apr 2016 07:16:12 -0700 Subject: [PATCH] Use the new appr.tc URL BUG=none Review URL: https://codereview.webrtc.org/1883923003 Cr-Commit-Position: refs/heads/master@{#12380} --- webrtc/examples/androidapp/AndroidManifest.xml | 4 ++-- webrtc/examples/androidapp/README | 6 +++--- webrtc/examples/androidapp/res/values/strings.xml | 2 +- .../src/org/appspot/apprtc/WebSocketRTCClient.java | 2 +- .../src/org/appspot/apprtc/util/AsyncHttpURLConnection.java | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/webrtc/examples/androidapp/AndroidManifest.xml b/webrtc/examples/androidapp/AndroidManifest.xml index 1e9cbf17d9..a8c09619c9 100644 --- a/webrtc/examples/androidapp/AndroidManifest.xml +++ b/webrtc/examples/androidapp/AndroidManifest.xml @@ -32,8 +32,8 @@ - - + + diff --git a/webrtc/examples/androidapp/README b/webrtc/examples/androidapp/README index 856879e4d7..c8705a8bba 100644 --- a/webrtc/examples/androidapp/README +++ b/webrtc/examples/androidapp/README @@ -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: - "Getting the code" on http://www.webrtc.org/native-code/android @@ -18,8 +18,8 @@ cd /src ninja -C out/Debug AppRTCDemo adb install -r out/Debug/apks/AppRTCDemo.apk -In desktop chrome, navigate to https://apprtc.appspot.com and note the r= room -this redirects to or navigate directly to https://apprtc.appspot.com/r/ with +In desktop chrome, navigate to https://appr.tc and note the r= room +this redirects to or navigate directly to https://appr.tc/r/ with your own room number. Launch AppRTC on the device and add same into the room name list. You can also run application from a command line to connect to the first room in a list: diff --git a/webrtc/examples/androidapp/res/values/strings.xml b/webrtc/examples/androidapp/res/values/strings.xml index 492c34b684..df891c77fe 100644 --- a/webrtc/examples/androidapp/res/values/strings.xml +++ b/webrtc/examples/androidapp/res/values/strings.xml @@ -119,7 +119,7 @@ room_server_url_preference Room server URL. Enter a room server URL. - https://apprtc.appspot.com + https://appr.tc displayhud_preference Display call statistics. diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java index 258b22f973..502b8d049d 100644 --- a/webrtc/examples/androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java +++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/WebSocketRTCClient.java @@ -26,7 +26,7 @@ import org.webrtc.IceCandidate; 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. * *

To use: create an instance of this object (registering a message handler) and diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java index a56d4ea947..d13ce5a4e8 100644 --- a/webrtc/examples/androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java +++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/util/AsyncHttpURLConnection.java @@ -23,7 +23,7 @@ import java.util.Scanner; */ public class AsyncHttpURLConnection { 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 url; private final String message;