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

Unified Diff: webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java

Issue 2308493002: Move getSupportedFormats from capturer interface to camera enumerator. (Closed)
Patch Set: 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
Index: webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java
diff --git a/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java b/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java
index f162cba950056f034beddb57d8ba62434526c0f4..bd5f303aab42966c242027bc7e2836d87e1bcd08 100644
--- a/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java
+++ b/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java
@@ -99,15 +99,6 @@ public class ScreenCapturerAndroid implements
applicationContext.getSystemService(Context.MEDIA_PROJECTION_SERVICE);
}
- /**
- * This method is not called by native code, neither by the java app. It can be removed later
- * once it is removed from the VideoCapturer interface.
- */
- @Override
- public List<CameraEnumerationAndroid.CaptureFormat> getSupportedFormats() {
- return null;
- }
-
@Override
public synchronized void startCapture(final int width, final int height,
final int ignoredFramerate) {

Powered by Google App Engine
This is Rietveld 408576698