CameraEngine icon indicating copy to clipboard operation
CameraEngine copied to clipboard

UnMirror front-facing camera

Open otymartin opened this issue 7 years ago • 2 comments

@remirobert Video and Photos taken using the front-facing camera are mirrored from whats shown in the previewLayer. I know even the iOS camera behaves like this but I prefer the snapchat & instagram style. How can this be fixed?

UPDATE: In my preview playback, I unmirrored with

self.player.view.transform = CGAffineTransformMakeScale(-1.0, 1.0)

But this is just for playback, it doesnt record it un-mirrored.

otymartin avatar Aug 20 '16 07:08 otymartin

@otymartin were you able to figure this out?

AkibShahjahan avatar Dec 24 '16 06:12 AkibShahjahan

@AkibShahjahan only when playing back the video not when recording.

self.player.view.transform = CGAffineTransformMakeScale(-1.0, 1.0)

otymartin avatar Dec 24 '16 14:12 otymartin