I have a problem with the orientation of the video while recording.
I use AVCaptureMovieFileOutputto record video with AVFoundation. Before starting recording, I have no problem setting the video orientation using the method AVCaptureConnection setVideoOrientation.
However, if the video is already running, the change AVCaptureConnection VideoOrientationdoes not change the actual orientation of the file that is being recorded.
Is this a known limitation, or am I doing something wrong?
source
share