Index: webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
diff --git a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
index 5b725fa22c35338f5aa5ea96aa088e8008c3eb65..cfb55d39b665b69b3a21da70bd622fe304df73ef 100644 |
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java |
@@ -471,10 +471,8 @@ public class PeerConnectionClient { |
}); |
// Create peer connection factory. |
- if (!PeerConnectionFactory.initializeAndroidGlobals( |
- context, true, true, peerConnectionParameters.videoCodecHwAcceleration)) { |
- events.onPeerConnectionError("Failed to initializeAndroidGlobals"); |
- } |
+ PeerConnectionFactory.initializeAndroidGlobals( |
+ context, peerConnectionParameters.videoCodecHwAcceleration); |
if (options != null) { |
Log.d(TAG, "Factory networkIgnoreMask option: " + options.networkIgnoreMask); |
} |