Skip to content

Commit

Permalink
fix bug LaiFengiOS#135
Browse files Browse the repository at this point in the history
  • Loading branch information
chenliming committed Nov 10, 2016
1 parent 565453f commit ebc59bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LFLiveKit/capture/LFVideoCapture.m
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ - (UIView *)preView {
}

- (void)setCaptureDevicePosition:(AVCaptureDevicePosition)captureDevicePosition {
if(captureDevicePosition == self.videoCamera.cameraPosition) return;
[self.videoCamera rotateCamera];
self.videoCamera.frameRate = (int32_t)_configuration.videoFrameRate;
[self reloadMirror];
Expand Down

0 comments on commit ebc59bc

Please sign in to comment.