I am trying to record video from a Background Service without showing any preview. It is like this example but trying to do it with Camera2 API.
I am trying to follow along with the android-Camera2Video sample code and trying to use that in the service.
Which parts should I cut out / ignore - is it the part TexttureViewer
part where it is previewed? I dont want to preview anything I just want to record it.