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

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: Changes based on feedback 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
« no previous file with comments | « talk/app/webrtc/objc/avfoundationvideocapturer.mm ('k') | webrtc/api/objc/RTCAVFoundationVideoSource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fcc8f1f2c0a256ecfab27b5d8cce4adc1019da89 100644
--- a/talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h
+++ b/talk/app/webrtc/objc/public/RTCAVFoundationVideoSource.h
@@ -41,6 +41,8 @@
- (instancetype)initWithFactory:(RTCPeerConnectionFactory*)factory
constraints:(RTCMediaConstraints*)constraints;
+// Returns whether rear-facing camera is available for use.
+@property(nonatomic, readonly) BOOL canUseBackCamera;
// Switches the camera being used (either front or back).
@property(nonatomic, assign) BOOL useBackCamera;
// Returns the active capture session.
« no previous file with comments | « talk/app/webrtc/objc/avfoundationvideocapturer.mm ('k') | webrtc/api/objc/RTCAVFoundationVideoSource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698