Mirror Android Secondary Display (Presentation API)

501 views Asked by At

I develop an application that presents content to an external display using Presentation. Now I want to mirror that to the phone screen or let say Twilio. One solution is to capture views from within the app.

For example. Is there a way to set a listener on DisplayManager external displays and start recording when it's presenting? Like we do with ADB adb shell screenrecord --display-id [DisplayID] /sdcard/example.mp4

Can we trigger this programmatically and catch each frame?

Note: We use TextureView

0

There are 0 answers