Index: webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java |
diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java |
index afa7e44aad3d59e3c86a23da8c60160a3091c9c6..39740a35bb66d908253db3618317afc5c0db8d5c 100644 |
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java |
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java |
@@ -13,7 +13,6 @@ package org.appspot.apprtc; |
import org.appspot.apprtc.AppRTCClient.RoomConnectionParameters; |
import org.appspot.apprtc.AppRTCClient.SignalingParameters; |
import org.appspot.apprtc.PeerConnectionClient.PeerConnectionParameters; |
-import org.appspot.apprtc.util.LooperExecutor; |
import android.app.Activity; |
import android.app.AlertDialog; |
@@ -263,7 +262,7 @@ public class CallActivity extends Activity |
// Create connection client. Use DirectRTCClient if room name is an IP otherwise use the |
// standard WebSocketRTCClient. |
if (loopback || !DirectRTCClient.IP_PATTERN.matcher(roomId).matches()) { |
- appRtcClient = new WebSocketRTCClient(this, new LooperExecutor()); |
+ appRtcClient = new WebSocketRTCClient(this); |
} else { |
Log.i(TAG, "Using DirectRTCClient because room name looks like an IP."); |
appRtcClient = new DirectRTCClient(this); |