This project is to demonstrate how to record the screen using MediaProjectionManager and using OpenGL ES to crop the video footage.
- Grant all permissions
- Click 'Start' button
- Touch and hold the record button to record screen
- Click cancel to finish screen projection.
The recorded videos will be in test
folder under the sdcard.
The recorded video is like this (no status bar and nav bar):
Some of the source code is from https://github.com/google/grafika