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. |
*/ |