Record screen and playback simultaneously with low latency

Record screen and playback simultaneously with low latency

I need to create an app that records the cell phone screen and plays this recording to the user with little latency, without them noticing delays.

It’s possible?