Description
There seems to be some weird behaviour (or lack of behaviour) when switching between audio devices which can lead UI components to be in an undesirable state.
I believe onSelectedMicDeviceChanged should be called when the user switches between ‘Device Name’ to ‘Same as System’ even if those devices match, but that is not the current behaviour.
The Zoom SDK treats ‘MacBook Pro Microphone’ and ‘Same as System’ as two different devices, which seems reasonable, but this callback is not triggered when toggling between those two ‘devices’ when they actually match in the background.
UI elements (such as a setting window) will be listening to delegate callbacks in order to update their state. If the user changes from ‘MacBook Pro Microphone’ to ‘Same as System’ in one part of the UI, this change is not visible elsewhere due to the lack of a onSelectedMicDeviceChanged notification. The second listener has no idea that a change occurred.
Which macOS Meeting SDK version?
Latest
To Reproduce(If applicable)
- In MacOS settings, set the audio mic device to ‘MacBook Pro Microphone’.
- Switch between ‘MacBook Pro Microphone’ and ‘Same as System’ using some UI element
- onSelectedMicDeviceChanged is not called
- Other UI elements which rely on onSelectedMicDeviceChanged will not toggle between ‘MacBook Pro Microphone’ and ‘Same as System’
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
N/A
Additional context
Add any other context about the problem here.