Forum Xamarin.Android

Video capture with preview in Android

Hello,
i am looking for a running example of an Android app that permits to capture video from camera showing the preview in SurfaceView or TextureView. All the examples that i've found (in c# and java) have problems in Android 4 or 5 (some of them show the preview rotated of 90 degrees and i've not been able to adjust it); code in Xamarin site has the same problem: https://developer.xamarin.com/recipes/android/media/video/record_video.

I've tried to see the source code of stock Android camera but it is too complex for my use. I would need to start from a simple preview and the MediaController that saves the .mp4 file, can anyone help me in finding a good sample?
Thanks in advance and greetings

Tagged:
Sign In or Register to comment.