How to listen for monitors open and close events ?

hi,
Description
i’m using windows sdk and i hava two monitors.
When one of the monitors is disconnected, the two meeting windows overlap.
Can I solve this problem by listen the display events of the display?

Screenshots

Hi j421037083,

Thanks for using Zoom SDK. May I inquire the following info:

  1. What is the SDK version you are using?
  2. Is it possible to reproduce this issue with our demo app? What the steps to reproduce this issue?

Looking forward to hearing from you.

Thanks!

Hi Carson_Chen,

  1. sdk version: v4.4.57220.1211
    2.This can be reproduced:
    The host prepares two screens, joins the meeting, and then disconnects data from one of the screens. At this time, the two meeting windows will overlap.

But when I turn on the screen again, the dual screen mode will not turn on automatically

Hi j421037083,

Thanks for the info. Really appreciate it. Would you mind providing the SDK log so that we could further investigate this issue?

Here are the steps to get the SDK log:

  1. Set the enableLogByDefault to be true at initializing the SDK
  2. After the issue appears, and the lifecycle is over, you may find the log in %appdata%/zoomsdk/logs/, please compress the files in this folder and sent back to us.

Looking forward to hearing from you. Thanks!

Hi @Carson_Chen,
this is video http://421037.f3322.net:8090/video/1578276652722570.mp4

this is logs http://421037.f3322.net:8090/video/logs.zip

I retested again. When I opened the meeting, I only opened screen1, and then the interface of the graphics card connected to screen2. At this time, zoom SDK could not redraw the meeting window. I used all the relevant methods in the SDK

Hi j421037083,

Thank you very much for providing the log and the video. This is very helpful. I have forwarded this to the engineering team and will get back to you shortly.

Thanks!

Thank you for following up

Hi j421037083,

Thank you very much for all the info. It appears that the Zoom Windows Client also has this issue, I will report this case to the Windows Client team, once they have fixed this issue, our SDK will inherit this fix.

Thanks!

Hi @Carson_Chen,
I solved this problem by opening the custom UI and forcing new two ICustomizedUIMgr before opening the meeting.

thanks!

Hi j421037083,

Glad to hear that the Custom UI works. Let me know if any other questions.

Thanks!

Hi @Carson_Chen,
It doesn’t work very well. The window will flash when the meeting is opened.
I expect to expose an interface to generate meeting windows or provide more details in the SDK.
thanks for you help!

Hi j421037083,

Thanks for the reply and sorry to hear that it does not work well. Since this issue is happening on the Windows Client as well, the SDK is depending on the fix from the client. I have already reported this issue to the client team, once they have fixed this, the issue will be fixed in SDK as well. I will keep you updated.

Thanks!