# Statistics setting resolution value

**URL:** <https://devforum.zoom.us/t/statistics-setting-resolution-value/43390>\
**Category:** macOS\
**Created:** [February 15, 2021, 5:37pm UTC](https://devforum.zoom.us/t/statistics-setting-resolution-value/43390 "2021-02-15T17:37:12Z")\
**Posts on this page:** 10\
**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:** [February 15, 2021, 5:37pm UTC](https://devforum.zoom.us/t/statistics-setting-resolution-value/43390/1 "2021-02-15T17:37:12Z")

</div>

How can I convert the value from getResolution to a video resolution?

Code:

```
let statistics = ZoomSDK.shared()?.getSettingService()?.getStatisticsSetting()

let video = statistics?.getVideoASStatisticsInfo(true)
let videoResolution = video?.getResolution(false)

let share = statistics?.getVideoASStatisticsInfo(false)
let shareResolution = video?.getResolution(false)

```

When I use this code I get: `videoResolution` == **230400** , `shareResolution` == **3686400**.

What does this values mean? and how can I convert it?

Thank you!

---

<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:** [February 16, 2021, 6:09pm UTC](https://devforum.zoom.us/t/statistics-setting-resolution-value/43390/2 "2021-02-16T18:09:06Z")

</div>

Hi @anton.yereshchenko, thanks for the post.

Based on the numbers being returned, this could be the bitrate of the video stream being transmitted for video and share resolutions. If you are looking for the detailed video resolution (e.g. 1920x1080), we will need to investigate if it is possible to retrieve this through the SDK.

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:** [March 1, 2021, 7:50am UTC](https://devforum.zoom.us/t/statistics-setting-resolution-value/43390/3 "2021-03-01T07:50:40Z")

</div>

Hi @jon.zoom , thank you for your help!

I will wait any update on this case.

Thanks!

---

<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:** [March 1, 2021, 5:34pm UTC](https://devforum.zoom.us/t/statistics-setting-resolution-value/43390/4 "2021-03-01T17:34:33Z")

</div>

Hi @anton.yereshchenko,

Just to confirm, are you saying that you are indeed looking for the full resolution info?

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:** [March 2, 2021, 6:58am UTC](https://devforum.zoom.us/t/statistics-setting-resolution-value/43390/5 "2021-03-02T06:58:34Z")

</div>

Hi @jon.zoom , thank you for the replay,

Yes, we need to know a content size of the media in the container ([video](https://devforum.zoom.us/t/how-to-get-the-real-resolution-of-the-content-for-zoomsdkvideoelement/44522/2) and [sharing](https://devforum.zoom.us/t/how-to-get-the-real-resolution-of-the-content-for-zoomsdkshareelement/44519)) as I mention before.  
But now it is more priority to know the size of each video that containers (`ZoomSDKNormalVideoElement`, `ZoomSDKShareElement`, etc) displays.

Thanks!

---

<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:** [March 2, 2021, 5:21pm UTC](https://devforum.zoom.us/t/statistics-setting-resolution-value/43390/6 "2021-03-02T17:21:46Z")

</div>

Hi @anton.yereshchenko, thanks for confirming.

We will investigate adding this in a future release and let you know as soon as we have an update.

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:** [March 3, 2021, 2:32pm UTC](https://devforum.zoom.us/t/statistics-setting-resolution-value/43390/7 "2021-03-03T14:32:54Z")

</div>

@jon.zoom , thank you so much for help, it would be super!

---

<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:** [March 3, 2021, 6:04pm UTC](https://devforum.zoom.us/t/statistics-setting-resolution-value/43390/8 "2021-03-03T18:04:16Z")

</div>

Always happy to help!

While we wait for an update on this issue, please feel free to reach out in a new thread if you have any other questions. 🙂

---

<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:** [April 6, 2021, 8:15am UTC](https://devforum.zoom.us/t/statistics-setting-resolution-value/43390/9 "2021-04-06T08:15:42Z")

</div>

@jon.zoom

I have noticed a comment in a new SDK version ( **v5.5.12509.0330** ) near the resolution:

> height can get through (Resolution \>\> 16), width can get through ((Resolution \<\< 16) \>\> 16).

and it’s works, thank you!

---

<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:** [April 6, 2021, 6:38pm UTC](https://devforum.zoom.us/t/statistics-setting-resolution-value/43390/10 "2021-04-06T18:38:12Z")

</div>

Thanks for following up on this, you’re very welcome! 🙂
