I’m trying to send the BG noise suppression to none as I’m using meeting SDK to stream video/audio with music and I dont want any noise cancellation.
I tried running this code but I get this response:
Error: Failed to set bg noise level. Error code: 3 (and the noise setting defaults to auto)
ZOOM_SDK_NAMESPACE::IAudioSettingContext* audioContext = m_pSettingService->GetAudioSettings();
if (audioContext) {
SDKError err = audioContext->SetSuppressBackgroundNoiseLevel(Suppress_BGNoise_Level_None);
if (err != SDKERR_SUCCESS) {
cout << "Error: Failed to set bg noise level. Error code: " << err << endl;
} else {
cout << "Successing disabling bg noise " << err << endl;
}
}
Error code 3 corresponds to SDKERR_INVALID_PARAMETER 3 Wrong parameter.
But i’m passing the enum type correctly. It works fine for Suppress_BGNoise_Level_Low and other setting.
Can anyone help with this? Thank you!