# 'setResolution' method is cause of the crash

**URL:** <https://devforum.zoom.us/t/setresolution-method-is-cause-of-the-crash/56423>\
**Category:** macOS\
**Created:** [August 25, 2021, 2:28pm UTC](https://devforum.zoom.us/t/setresolution-method-is-cause-of-the-crash/56423 "2021-08-25T14:28:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [August 25, 2021, 2:28pm UTC](https://devforum.zoom.us/t/setresolution-method-is-cause-of-the-crash/56423/1 "2021-08-25T14:28:29Z")

</div>

**Description**  
There is an exception while I create several video elements and try to call `setResolution:` for each of those.  
**Note** : without `setResolution:` method calling (for example when I use `subscribeVideo:` method instead) there isn’t an exception.

I have attached log file to this topic.

**Which macOS Meeting SDK version?**  
v5.7.1

**Log files**  
[Click here](https://drive.google.com/file/d/1wiMto9sRBFI-5Jo5MuTey2LKhlagu-Yb/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [August 25, 2021, 10:17pm UTC](https://devforum.zoom.us/t/setresolution-method-is-cause-of-the-crash/56423/2 "2021-08-25T22:17:47Z")

</div>

Hi @anton.yereshchenko,

Thanks for providing the SDK logs and sorry to hear you’re running into a crash. Can you please clarify the following while we look into this:

- Are you seeing this after a set number of `setResolution` calls each time? If so, how many?
- Are the video elements being set up immediately one after the other without any delay? Does this still happen if there is a delay between the `setResolution` calls?
- Please provide the XCode crash log (it seems that only the encrypted SDK logs were included).

Thanks!

---

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [September 7, 2021, 2:36pm UTC](https://devforum.zoom.us/t/setresolution-method-is-cause-of-the-crash/56423/3 "2021-09-07T14:36:31Z")

</div>

Hi @jon.zoom

ok, I should check it.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [September 14, 2021, 9:49pm UTC](https://devforum.zoom.us/t/setresolution-method-is-cause-of-the-crash/56423/4 "2021-09-14T21:49:50Z")

</div>

Thanks, let me know once you’ve been able to check and we can continue investigating on our end. 🙂

---

<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:** [October 15, 2021, 7:50am UTC](https://devforum.zoom.us/t/setresolution-method-is-cause-of-the-crash/56423/5 "2021-10-15T07:50:13Z")

</div>

Closed on October 15, 2021, 7:50am UTC

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