Description
ZoomSDKAudioSetting never turns off the microphone when released. This happens in the ZoomSample macos app.
[_audioSettings getAudioDeviceList:YES] activates the mic but there is no option to turn it off in the SDK. I’m assuming the ZoomSDK retains a reference to the ZoomSDKSettingService that looks to retain the ZoomSDKAudioSettings so this never gets cleaned up.
Which version?
4.6.21666.0427
XCode 10.3
To Reproduce(If applicable)
Start the sample app on the sdk.
use custom UI.
Once logged in go to settings.
Close the settings never deactivates the microphone. You can notice this when wearing headphones that turn on ambient sound while the microphone is active.
Thanks for the reply. We have tried to reproduce this with our demo but no luck. Please refer to the following steps/orders when opening the setting UI:
startRecordingMic
stopRecordingMic
playRecordingMic
stopPlayRecordingMic
If you are following the order and the error still occurs, could you provide an SDK log(~/Library/Logs/AppName) for us to further investigate? Could you also provide a short video showing this issue?
I will see if i can capture something that shows you that the microphone isn’t being turned off.
Like i said previously this happens without even calling the start/stop/play/stopplay apis. It’s the moment the audiosettings fetches the microphone device.
I noticed it because i have headphones that turn on ambient sound when the mic is active. I tested the default settings and the system preference they all behave as expected. In call experience also behaves as expected. Its just the implementation of the preference in the demo. I tracked it down to that line of code.
But I will see if I can find something that will help your developers.