We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e4f7ca commit 0e4df8aCopy full SHA for 0e4df8a
LLSimpleCamera/LLSimpleCamera.m
@@ -74,7 +74,7 @@ - (void)setupWithQuality:(NSString *)quality
74
_fixOrientationAfterCapture = NO;
75
_tapToFocus = YES;
76
_useDeviceOrientation = NO;
77
- _useDeviceOrientationOnCapture = YES;
+ _useDeviceOrientationOnCapture = NO;
78
_flash = LLCameraFlashOff;
79
_mirror = LLCameraMirrorAuto;
80
_videoEnabled = videoEnabled;
@@ -384,7 +384,7 @@ - (void)startRecordingWithOutputUrl:(NSURL *)url
384
// get only the video media types
385
if ([[port mediaType] isEqual:AVMediaTypeVideo]) {
386
if([connection isVideoOrientationSupported]) {
387
- [connection setVideoOrientation:[self orientationForConnection:false]];
+ [connection setVideoOrientation:[self orientationForConnection:true]];
388
}
389
390
0 commit comments