Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java

Issue 1720283002: Add more camera resolutions to camera scaling slider. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/examples/androidapp/src/org/appspot/apprtc/CaptureQualityController.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b9abf11eb387f25d09021bd31c980c2f1b2aafc6..e2f130663bf77425414eb9fb5a3734fe991ebd92 100644
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/CallActivity.java
@@ -32,6 +32,7 @@ import android.widget.Toast;
import org.webrtc.EglBase;
import org.webrtc.IceCandidate;
+import org.webrtc.PeerConnectionFactory;
import org.webrtc.SessionDescription;
import org.webrtc.StatsReport;
import org.webrtc.RendererCommon.ScalingType;
@@ -262,6 +263,11 @@ public class CallActivity extends Activity
}
peerConnectionClient = PeerConnectionClient.getInstance();
+ if (loopback) {
+ PeerConnectionFactory.Options options = new PeerConnectionFactory.Options();
+ options.networkIgnoreMask = 0;
+ peerConnectionClient.setPeerConnectionFactoryOptions(options);
+ }
peerConnectionClient.createPeerConnectionFactory(
CallActivity.this, peerConnectionParameters, CallActivity.this);
}
« no previous file with comments | « no previous file | webrtc/examples/androidapp/src/org/appspot/apprtc/CaptureQualityController.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698