# How to call Microphone, Speaker and Camera (switch) changed events/method at running time

**URL:** <https://devforum.zoom.us/t/how-to-call-microphone-speaker-and-camera-switch-changed-events-method-at-running-time/79994>\
**Category:** Windows\
**Created:** [December 9, 2022, 5:13am UTC](https://devforum.zoom.us/t/how-to-call-microphone-speaker-and-camera-switch-changed-events-method-at-running-time/79994 "2022-12-09T05:13:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nilesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nilesh/32/43337_2.png) [@nilesh](https://devforum.zoom.us/u/nilesh)\
**Post date:** [December 9, 2022, 5:13am UTC](https://devforum.zoom.us/t/how-to-call-microphone-speaker-and-camera-switch-changed-events-method-at-running-time/79994/1 "2022-12-09T05:13:29Z")

</div>

**Description**

I connected multiple cameras and microphones, speakers to my computer.  
There were no runtime events or methods discovered when I switched the specified camera to a different camera (same for microphones & speakers).

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

We have created a custom floating window for meetings created from our application. But the share screen is still using the floating window of Zoom. When I make any changes in my custom floating window (selecting a new audio or video device), it is correctly reflected in the share screen window, but vice versa is not happening.  
meaning, if I change the audio device from the zoom share screen floating window then the same is not reflected in my custom window.

I want to know if there is any event that I can register to from where I can get a notification when there is a device change.

Please refer the images below

Zoom screen share floating devices popup - I switched the Microphone (ZY Control Mic8k) to a Microphone (8-Logitech Webcam C930e)

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/e/de9f4c50d96a03be13b82aa326ca0de4dffda788.jpeg)

then after I stop the screen share and check my device list popup - it’s not updated. see screenshot,

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/1/2177b75fa05605fd2f8bf4e8d7e40a708f62515f.png)

**Which Windows Meeting SDK version?**  
v5.11.11.8475

**Device:**

- OS: Windows 10

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [January 8, 2023, 3:14pm UTC](https://devforum.zoom.us/t/how-to-call-microphone-speaker-and-camera-switch-changed-events-method-at-running-time/79994/2 "2023-01-08T15:14:29Z")

</div>

Closed on January 8, 2023, 3:14pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
