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

Unified Diff: webrtc/api/java/src/org/webrtc/VideoCapturer.java

Issue 1702603002: AndroidVideoCapturer getSupportedFormats(): Change interface from JSON string to List/vector (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove logging from C++. Remove json from api.gyp. 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 | « webrtc/api/java/jni/androidvideocapturer_jni.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/java/src/org/webrtc/VideoCapturer.java
diff --git a/webrtc/api/java/src/org/webrtc/VideoCapturer.java b/webrtc/api/java/src/org/webrtc/VideoCapturer.java
index 21bfafaf96f59a61349c6e8964161e9fa8660f39..8db8b2118006350dc98d855bbe6ac5808f084c77 100644
--- a/webrtc/api/java/src/org/webrtc/VideoCapturer.java
+++ b/webrtc/api/java/src/org/webrtc/VideoCapturer.java
@@ -12,7 +12,7 @@ package org.webrtc;
import android.content.Context;
-import org.json.JSONException;
+import java.util.List;
// Base interface for all VideoCapturers to implement.
// TODO(magjed): Simplify and improve this interface.
@@ -83,7 +83,7 @@ public interface VideoCapturer {
int width, int height, int framerate);
}
- String getSupportedFormatsAsJson() throws JSONException;
+ List<CameraEnumerationAndroid.CaptureFormat> getSupportedFormats();
SurfaceTextureHelper getSurfaceTextureHelper();
« no previous file with comments | « webrtc/api/java/jni/androidvideocapturer_jni.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698