AudioVideoRecordingSample icon indicating copy to clipboard operation
AudioVideoRecordingSample copied to clipboard

Modified code to switch camera, but when using back camera saved video is flipped

Open baberone opened this issue 6 years ago • 0 comments

Hi Saki

I've been playing around with your project and I must say it's impressive. Since I'm using Xamarin I've 'translated' your code to C#, but all is working fine now. Muxing video and audio is working nicely on my test device.

So I've added some code to be able to switch the camera (front/back) and it's working. I stop the preview in the CameraHandler and restart it afterwards.

When playing a movie recorded by the back camera, the image is flipped. This is not the case with a front camera recording (preview = recorded orientation)

Any ideas are welcome !

Thanks Benoit

baberone avatar Jun 06 '18 20:06 baberone