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(); |