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

Unified Diff: webrtc/api/android/java/src/org/webrtc/VideoCapturerAndroid.java

Issue 2356073003: Change Camera1Enumerator to create a Camera1Capturer instead of VideoCapturerAndroid. (Closed)
Patch Set: Rebase. Created 4 years, 3 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/android/java/src/org/webrtc/Camera1Enumerator.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/android/java/src/org/webrtc/VideoCapturerAndroid.java
diff --git a/webrtc/api/android/java/src/org/webrtc/VideoCapturerAndroid.java b/webrtc/api/android/java/src/org/webrtc/VideoCapturerAndroid.java
index a019ff6afb8acfc1f2b7e111e1b035ee88882560..939c86992fa5dc671037fd7d1becb9ec8e15091e 100644
--- a/webrtc/api/android/java/src/org/webrtc/VideoCapturerAndroid.java
+++ b/webrtc/api/android/java/src/org/webrtc/VideoCapturerAndroid.java
@@ -38,7 +38,10 @@ import java.util.concurrent.atomic.AtomicBoolean;
// arbitrary Java threads. All public entry points are thread safe, and delegate the work to the
// camera thread. The internal *OnCameraThread() methods must check |camera| for null to check if
// the camera has been stopped.
-// TODO(magjed): This class name is now confusing - rename to Camera1VideoCapturer.
+//
+// This class is deprecated and will only be used if you manually create it. Please use
+// Camera1Capturer instead.
+@Deprecated
@SuppressWarnings("deprecation")
public class VideoCapturerAndroid
implements CameraVideoCapturer, android.hardware.Camera.PreviewCallback,
« no previous file with comments | « webrtc/api/android/java/src/org/webrtc/Camera1Enumerator.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698