hyperion-android-grabber icon indicating copy to clipboard operation
hyperion-android-grabber copied to clipboard

Android 12 issues

Open Nosskirneh opened this issue 1 year ago • 4 comments

Upgraded to Android 12. It seems like it works perfectly in the home menu but as soon as you play a video (Plex), it gets the color of the first frame and it is not updated until you exit to the home menu. For another app (Twitch), it updated but with completely incorrect colors.

Nosskirneh avatar Oct 21 '22 20:10 Nosskirneh

Hmm, I cloned the repo, fought various build errors, and finally managed to build a version with the latest sdk and gradle release and whatnot. Turns out that did not solve the problem... As a developer not having spent much time on Android before, this is a bit tough start. The setup looks solid, so does the SurfaceImage object in the sendImage method. @abrenoch Any hints what would be the culprit, or where to start looking?

It seems to me like it gets an image of some other layer of the current app since for example in SmartTube, the coloring is accurate for the UI that appears on top of the video that holds playback buttons (play, next, prev, etc) and more.

Nosskirneh avatar Oct 26 '22 19:10 Nosskirneh

Hey @Nosskirneh thanks for digging into this a bit... I agree getting this running in AndroidStudio can be a little harrowing if you aren't already familiar. I feel like I need to re-learn it every 6 months.

As I mentioned in the other thread, one of those surfaces may be protected in one manner or another... But the plex issue is interesting since I use it all the time on my shieldTV with very few issues.

Just double checking - did you build the latest development version (or try the 1.1 beta)? That has some updated API usage that might help. Also, what hardware are you running this on, and what kind of media (4k/HDR/1080p/etc) are you trying in plex? That first frame bit is interesting to me but I'm not sure I have any insight to offer yet!

abrenoch avatar Nov 05 '22 15:11 abrenoch

I have the same problem with TiviMate. I think only first frame is grabbed and LEDs are not changing.

kkmaslowski avatar Apr 05 '23 08:04 kkmaslowski

Same problem on Fire TV Cube (3rd Generation) 2022 on Fire OS 7.6.1.3 (PS7613/3701).

tramix32 avatar Apr 05 '23 17:04 tramix32