Search code examples
androidandroid-mediaprojection

android 5 , capture screen as raw rgb buffers


How can I capture the screen as raw rgba buffers ( without encoding ) using MediaProjectionManager ?

I have seen many examples of how to capture the screen and encode it using MediaCodec but I want to use my own encoder instead.


Solution

  • I ended up using ImageReader as fadden suggested