Index: webrtc/api/objc/RTCAVFoundationVideoSource.h |
diff --git a/webrtc/api/objc/RTCAVFoundationVideoSource.h b/webrtc/api/objc/RTCAVFoundationVideoSource.h |
index e3404441ccb90f64ce641045784f8f1bfa12a3d3..1d1eac0fab08b6b3506522f1f22d46cc80ba437f 100644 |
--- a/webrtc/api/objc/RTCAVFoundationVideoSource.h |
+++ b/webrtc/api/objc/RTCAVFoundationVideoSource.h |
@@ -28,6 +28,9 @@ NS_ASSUME_NONNULL_BEGIN |
- (instancetype)initWithFactory:(RTCPeerConnectionFactory *)factory |
constraints:(nullable 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; |