I am going on with the surfaceview camera to record video with the front camera but causes me error as failed to open searched a lot but can't able to fix i had declared all the permission in manifest but it opens for camera facing back and recordes the video i don't know where it goes wrong.
If anyone have idea about this please help me friends.