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

Unified Diff: webrtc/api/java/android/org/webrtc/CameraVideoCapturer.java

Issue 2024843002: Refactor VideoCapturerAndroid tests in WebRTC. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixes according to perkj's comments #2 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
Index: webrtc/api/java/android/org/webrtc/CameraVideoCapturer.java
diff --git a/webrtc/api/java/android/org/webrtc/CameraVideoCapturer.java b/webrtc/api/java/android/org/webrtc/CameraVideoCapturer.java
index 46432d4619f81e9c5932ad6cb26baa2b9bed9e69..ac46331bc26964be6aad551bb60e7e694954751c 100644
--- a/webrtc/api/java/android/org/webrtc/CameraVideoCapturer.java
+++ b/webrtc/api/java/android/org/webrtc/CameraVideoCapturer.java
@@ -56,6 +56,8 @@ public interface CameraVideoCapturer extends VideoCapturer {
*/
void switchCamera(CameraSwitchHandler switchEventsHandler);
+ String getCurrentCameraId();
perkj_webrtc 2016/06/14 06:02:35 Can we remove this from the interface again. The
sakal 2016/06/14 08:40:55 Done.
+
/**
* Helper class to log framerate and detect if the camera freezes. It will run periodic callbacks
* on the SurfaceTextureHelper thread passed in the ctor, and should only be operated from that

Powered by Google App Engine
This is Rietveld 408576698