# Missing Documentation: enableEchoCancellation, enableHighFidelityMusicMode, or enableStereoAudio Fail Unless Mic Original Input is Enabled

**URL:** <https://devforum.zoom.us/t/missing-documentation-enableechocancellation-enablehighfidelitymusicmode-or-enablestereoaudio-fail-unless-mic-original-input-is-enabled/77632>\
**Category:** macOS\
**Created:** [October 19, 2022, 6:57pm UTC](https://devforum.zoom.us/t/missing-documentation-enableechocancellation-enablehighfidelitymusicmode-or-enablestereoaudio-fail-unless-mic-original-input-is-enabled/77632 "2022-10-19T18:57:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark\_coniglio](https://avatars.discourse-cdn.com/v4/letter/m/a8b319/32.png) [@mark\_coniglio](https://devforum.zoom.us/u/mark_coniglio)\
**Post date:** [October 19, 2022, 6:57pm UTC](https://devforum.zoom.us/t/missing-documentation-enableechocancellation-enablehighfidelitymusicmode-or-enablestereoaudio-fail-unless-mic-original-input-is-enabled/77632/1 "2022-10-19T18:57:55Z")

</div>

**Zoom VideoSDK 1.50**

## **Description**

Calls to enableEchoCancellation or enableHighFidelityMusicMode Fail Unless Mic Original Input is Enabled. The documentation says nothing about this relationship and should be updated to avoid developer confusion.

I hope documenting this here helps someone save some time.

## **Error**

Both enableEchoCancellation and enableHighFidelityMusicMode return ZMVideoSDKErrors\_Wrong\_Usage unless those calls are proceeded by the call

`[[[ZMVideoSDK sharedVideoSDK] getAudioSettingHelper] enableMicOriginalInput:YES]`

## **How To Reproduce**

Call

`[[[ZMVideoSDK sharedVideoSDK] getAudioSettingHelper] enableEchoCancellation:NO]`

or

`[[[ZMVideoSDK sharedVideoSDK] getAudioSettingHelper] enableHighFidelityMusicMode:YES]`

or

`[[[ZMVideoSDK sharedVideoSDK] getAudioSettingHelper] enableStereoAudio:YES]`

and check the error return code. It will be `ZMVideoSDKErrors_Wrong_Usage`

## **Solution**

Now try the making the three calls above after calling

`[[[ZMVideoSDK sharedVideoSDK] getAudioSettingHelper] enableMicOriginalInput:Yes];`

The error code for the three calls listed above is now `ZMVideoSDKErrors_Success`.

---

<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:** [December 15, 2022, 10:30pm UTC](https://devforum.zoom.us/t/missing-documentation-enableechocancellation-enablehighfidelitymusicmode-or-enablestereoaudio-fail-unless-mic-original-input-is-enabled/77632/2 "2022-12-15T22:30:09Z")

</div>

Closed on December 15, 2022, 10:30pm UTC

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

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [December 15, 2022, 10:30pm UTC](https://devforum.zoom.us/t/missing-documentation-enableechocancellation-enablehighfidelitymusicmode-or-enablestereoaudio-fail-unless-mic-original-input-is-enabled/77632/3 "2022-12-15T22:30:19Z")

</div>

Hi @mark_coniglio , thanks for reporting this, we’ll work to get this confirmed and added to the documentation/reference. The errors could be clearer here for sure.
