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

Unified Diff: talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h

Issue 1416303003: Handle iOS devices with no rear-facing camera (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Check back camera in new Objective-C API Created 4 years, 9 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: talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h
diff --git a/talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h b/talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h
index b6a686a7dc24fc8bc06c37e20e6a4d1808fc71b5..33ea906b81bc2ba49080db77d3f6146e3da2aa31 100644
--- a/talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h
+++ b/talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h
@@ -45,5 +45,7 @@
@property(nonatomic, assign) BOOL useBackCamera;
// Returns the active capture session.
@property(nonatomic, readonly) AVCaptureSession* captureSession;
+// Returns whether rear-facing camera is available for use.
tkchin_webrtc 2016/03/14 18:16:59 nit: Move this above useBackCamera
hjon 2016/03/14 18:31:44 Done.
+@property(nonatomic, readonly) BOOL canUseBackCamera;
@end

Powered by Google App Engine
This is Rietveld 408576698