An video camera,you can have realtime of a beautify,and change camera position,or turn on/off flash.Details see demo.
CDPVideoEditor: https://github.com/cdpenggod/CDPVideoEditor.git
-(instancetype)initWithFrame:(CGRect)frame cameraPosition:(AVCaptureDevicePosition)cameraPosition openBeautify:(BOOL)openBeautify isFullScreen:(BOOL)isFullScreen addToSuperview:(UIView *)superView;
-(void)startRecording;
-(NSURL *)finishRecordingAndSaveToLibrary:(BOOL)isSave;