Main Question: How can I capture video without preview using Camera2 API?
I am trying to record video from a Background Service without showing any preview.
Here is the same question asked but I want to do it with Camera2 API.
I found a sample code in Camera2VideoJava and trying to use that in the service.
I am unable to understand what to do now because there is no documentation to do something like this.
Can anyone please help?