# AudioHelper get/set microphones/speakers don't work

**URL:** <https://devforum.zoom.us/t/audiohelper-get-set-microphones-speakers-dont-work/89744>\
**Category:** macOS\
**Created:** [June 7, 2023, 2:12am UTC](https://devforum.zoom.us/t/audiohelper-get-set-microphones-speakers-dont-work/89744 "2023-06-07T02:12:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rokgregoric](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rokgregoric/32/40678_2.png) [@rokgregoric](https://devforum.zoom.us/u/rokgregoric)\
**Post date:** [June 7, 2023, 2:12am UTC](https://devforum.zoom.us/t/audiohelper-get-set-microphones-speakers-dont-work/89744/1 "2023-06-07T02:12:02Z")

</div>

**Description**

Methods for getting and selecting audio input/output don’t work:

```auto
-(NSArray<ZMVideoSDKSpeakerDevice *>*)getSpeakerList;
-(NSArray<ZMVideoSDKMicDevice *>*)getMicList;
-(ZMVideoSDKErrors)selectSpeaker:(NSString *)deviceId deviceName:(NSString *)name;
-(ZMVideoSDKErrors)selectMic:(NSString *)deviceId deviceName:(NSString *)name;

```

The get methods always return just the current device, while setting doesn’t work at all.

I think the problem could be the returned deviceID is the actual device name.

**Which macOS Video SDK version?**  
v1.7.6

---

<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:** [July 7, 2023, 12:12pm UTC](https://devforum.zoom.us/t/audiohelper-get-set-microphones-speakers-dont-work/89744/2 "2023-07-07T12:12:39Z")

</div>

Closed on July 7, 2023, 12:12pm UTC

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