HDMI-in detect resolution/image format change

Which system do you use? Android, Ubuntu, OOWOW or others?

Android

Which version of system do you use? Khadas official images, self built images, or others?

Official/self-built with camera patch

Please describe your issue below:

Is there a way to detect when the device connected to HDMI-in performs a change of the image format (e.g. resolution change of a PC)?

We use the Camera2 API to display the stream on screen. How do we know that the surface size should be changed and capture session restarted?

Hello @cadahl

@goenjoy will help you then.

Hi, any feedback on this?

@cadahl I have already provided feedback to amlogic, but they have not replied to us yet. But you know, this is not a bug, but a new requirement. They may not necessarily give a satisfactory answer.

I appreciate that. And even a negative answer is a useful answer. It just means I will have to find a way to accomplish it another way, e.g. abandon the “virtual camera” HDMI-in approach.
.

@cadahl Amlogic response is as follows: Please provide a detailed description of the requirements. I don’t quite understand what you want to do.