Hi, I am looking for an API in webOS TV that allows a third-party app to get the current frame that the monitor displays, and it should also work from an HDMI source.
In Android TV, it is possible; here are a few references:
Don’t trust ChatGPT 100%!
I asked it about screenshot API on webOS TV but it doesn’t work at all.
Screenshot API only works with webOS OSE, not webOS TV.
On Android TV, the safest way to take screenshots is using the MediaProjection API, which lets apps capture the screen or record it with the user’s permission. For testing or development, you can also use ADB commands like adb shell screencap or online services such as this screenshot API to capture screens from apps or web pages easily. Rooted devices can take screenshots silently, but most TVs aren’t rooted, so MediaProjection with user consent is the most reliable method.