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

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

Issue 2350933006: Android VideoSource: Add adaptOutputFormat function (Closed)
Patch Set: Remove thread check in OnOutputFormatRequest Created 4 years, 3 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 | « webrtc/api/androidvideotracksource.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1d049f91d4ea8316a9c7c065d2258e8b109f3d9a..5c50e5aeb519f7b0ebab932346a2a54f9d6ba22b 100644
--- a/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
+++ b/webrtc/examples/androidapp/src/org/appspot/apprtc/PeerConnectionClient.java
@@ -1058,7 +1058,7 @@ public class PeerConnectionClient {
return;
}
Log.d(TAG, "changeCaptureFormat: " + width + "x" + height + "@" + framerate);
- videoCapturer.onOutputFormatRequest(width, height, framerate);
+ videoSource.adaptOutputFormat(width, height, framerate);
}
// Implementation detail: observe ICE & stream changes and react accordingly.
« no previous file with comments | « webrtc/api/androidvideotracksource.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698