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 3073c34a9b7db5f57b89920df40dbe73a4b74cab..05187a6a3aed4ea6f751807d826f7c5aac05f7a3 100644 |
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java |
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java |
@@ -394,8 +394,7 @@ public class CallActivity extends Activity |
Log.d(TAG, "Creating peer connection factory, delay=" + delta + "ms"); |
peerConnectionClient = PeerConnectionClient.getInstance(); |
peerConnectionClient.createPeerConnectionFactory(CallActivity.this, |
- VideoRendererGui.getEGLContext(), peerConnectionParameters, |
- CallActivity.this); |
+ peerConnectionParameters, CallActivity.this); |
} |
if (signalingParameters != null) { |
Log.w(TAG, "EGL context is ready after room connection."); |
@@ -481,7 +480,7 @@ public class CallActivity extends Activity |
return; |
} |
logAndToast("Creating peer connection, delay=" + delta + "ms"); |
- peerConnectionClient.createPeerConnection( |
+ peerConnectionClient.createPeerConnection(VideoRendererGui.getEGLContext(), |
localRender, remoteRender, signalingParameters); |
if (signalingParameters.initiator) { |