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

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

Issue 2024843002: Refactor VideoCapturerAndroid tests in WebRTC. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Reorder imports to match Java style guide Created 4 years, 6 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/android/org/webrtc/VideoCapturerAndroid.java ('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 5a515d2261f675d55bc815fa034ab63a34e279a4..452009b3aceb301f63d95757aaab1b60a5100736 100644
--- a/webrtc/api/java/src/org/webrtc/VideoCapturer.java
+++ b/webrtc/api/java/src/org/webrtc/VideoCapturer.java
@@ -15,7 +15,6 @@ import android.content.Context;
import java.util.List;
// Base interface for all VideoCapturers to implement.
-// TODO(magjed): Simplify and improve this interface.
public interface VideoCapturer {
// Interface used for providing callbacks to an observer.
public interface CapturerObserver {
@@ -83,7 +82,6 @@ public interface VideoCapturer {
int width, int height, int framerate);
}
-
/**
* Returns a list with all the formats this VideoCapturer supports.
*/
@@ -104,6 +102,10 @@ public interface VideoCapturer {
*/
void stopCapture() throws InterruptedException;
+ void onOutputFormatRequest(int width, int height, int framerate);
+
+ void changeCaptureFormat(int width, int height, int framerate);
+
/**
* Perform any final cleanup here. No more capturing will be done after this call.
*/
« no previous file with comments | « webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698