File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ - (void)setupWithQuality:(NSString *)quality
7474 _fixOrientationAfterCapture = NO ;
7575 _tapToFocus = YES ;
7676 _useDeviceOrientation = NO ;
77- _useDeviceOrientationOnCapture = YES ;
77+ _useDeviceOrientationOnCapture = NO ;
7878 _flash = LLCameraFlashOff;
7979 _mirror = LLCameraMirrorAuto;
8080 _videoEnabled = videoEnabled;
@@ -384,7 +384,7 @@ - (void)startRecordingWithOutputUrl:(NSURL *)url
384384 // get only the video media types
385385 if ([[port mediaType ] isEqual: AVMediaTypeVideo]) {
386386 if ([connection isVideoOrientationSupported ]) {
387- [connection setVideoOrientation: [self orientationForConnection: false ]];
387+ [connection setVideoOrientation: [self orientationForConnection: true ]];
388388 }
389389 }
390390 }
You can’t perform that action at this time.
0 commit comments