Index: webrtc/api/objc/avfoundationvideocapturer.h |
diff --git a/webrtc/api/objc/avfoundationvideocapturer.h b/webrtc/api/objc/avfoundationvideocapturer.h |
index 2ee456d3f593f15ac55630c0330fb88b898c6407..83ee70385e554ea53c2fcfcde77d1a6d5e31eed0 100644 |
--- a/webrtc/api/objc/avfoundationvideocapturer.h |
+++ b/webrtc/api/objc/avfoundationvideocapturer.h |
@@ -40,6 +40,12 @@ class AVFoundationVideoCapturer : public cricket::VideoCapturer { |
/** Returns the active capture session. */ |
AVCaptureSession* GetCaptureSession(); |
+ /** |
+ * Returns whether the rear-facing camera can be used. |
+ * e.g. It can't be used because it doesn't exist. |
+ */ |
+ bool CanUseBackCamera() const; |
+ |
/** Switches the camera being used (either front or back). */ |
void SetUseBackCamera(bool useBackCamera); |
bool GetUseBackCamera() const; |