Raphdeumax
Raphdeumax
Hi manos and thank you for your answer. Actually i use android tv in version 6.1 and I try to capture the screen of my Android TV in bitmap format...
I use a part of your code to made a system similar to Ambilight on android tv with an arduino.
Hi, When i try to screenshot a video on Youtube for example, i get a black bitmap in RGB format and if i change the format in ImageReader.newInstance to YUV...
@omerjerk, Thanks for your repsonse, i will investigate on the secure flag. I has appreciate your work ;-)
For information, i has the same problem using OpenGL.
Hello, After testing, the FLAG_SECURE has no link to the black screen when capturing video. Small question, what is the role of the mediaencoder when using MediaProjection? thank you