I'm building app that uses cameraX to display real-time filter on users body, but I am not aware of what would be best way to record/capture video with overlays on it. I've tried screencapturing, but it does not work, I've tried multiple other methods, but no success yet
For code reference, I'm using this sample code - https://github.com/android/camera-samples/tree/main/CameraXAdvanced
For example, I'd like to make a recording of something like this with all overlays/details on the screen