Index: webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm |
diff --git a/webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm b/webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm |
index 111f199e565014944cf668b79adac5d173920359..287ecdd71dc28e81676b1ab32e5279e648676bd8 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm |
+++ b/webrtc/sdk/objc/Framework/Classes/Video/RTCAVFoundationVideoCapturerInternal.mm |
@@ -16,7 +16,7 @@ |
#import "WebRTC/UIDevice+RTCDevice.h" |
#endif |
-#import "AVCaptureSession+Device.h" |
+#import "AVCaptureSession+DevicePosition.h" |
#import "RTCDispatcher+Private.h" |
#import "WebRTC/RTCLogging.h" |
@@ -218,7 +218,7 @@ |
#if TARGET_OS_IPHONE |
// Default to portrait orientation on iPhone. |
webrtc::VideoRotation rotation = webrtc::kVideoRotation_90; |
- BOOL usingFrontCamera; |
+ BOOL usingFrontCamera = NO; |
// Check the image's EXIF for the camera the image came from as the image could have been |
// delayed as we set alwaysDiscardsLateVideoFrames to NO. |
AVCaptureDevicePosition cameraPosition = |