Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Camera2 video recording

I've implemented this offical Google Camera2 example with minor changes into my app to take pictures in a custom camera. I need to also provide the option for video recording, but I can't find an example- maybe because the Camera2 API is relatively new.

Does anyone have examples/tutorials on how to either A) modify the above code to also allow video recording, or B) implement video recording in a new fragment, while using the Camera2 API?

Thank you in advance!

like image 516
pez Avatar asked Feb 26 '15 04:02

pez


1 Answers

google camera2video sample code :
https://github.com/googlesamples/android-Camera2Video

like image 139
yydcdut Avatar answered Sep 29 '22 17:09

yydcdut