# Crash on network drop while having the \`virtualAudioMic\` set

**URL:** <https://devforum.zoom.us/t/crash-on-network-drop-while-having-the-virtualaudiomic-set/79718>\
**Category:** macOS\
**Created:** [December 5, 2022, 4:09am UTC](https://devforum.zoom.us/t/crash-on-network-drop-while-having-the-virtualaudiomic-set/79718 "2022-12-05T04:09:22Z")\
**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:** [December 5, 2022, 4:09am UTC](https://devforum.zoom.us/t/crash-on-network-drop-while-having-the-virtualaudiomic-set/79718/1 "2022-12-05T04:09:22Z")

</div>

**Description**  
The SDK crashes when the network connection drops while having the `virtualAudioMic` set.

**Which macOS Video SDK version?**  
1.5.3 (12615)

**To Reproduce(If applicable)**  
Start network link conditioner on `100% Loss` profile.

**Screenshots**

 ![Screenshot 2022-12-05 at 4.41.50 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/3/e/3ed5327832a218f286b3f08e4f6cd13d129139fb.jpeg)

**Additional context**  
I tried a number of things to prevent the crash from happening. And the only thing that helps is to avoid setting `virtualAudioMic`.  
The virtual mic / `ZMVideoSDKAudioSender` is not being used while the network drops (not sending packets).  
The crash happens right after: `func onError(_ ErrorType: ZoomError, detail: Int32)` has been called.

---

<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:** [January 4, 2023, 2:09pm UTC](https://devforum.zoom.us/t/crash-on-network-drop-while-having-the-virtualaudiomic-set/79718/2 "2023-01-04T14:09:46Z")

</div>

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