# ZoomSDKShareElement usage

**URL:** <https://devforum.zoom.us/t/zoomsdkshareelement-usage/57713>\
**Category:** macOS\
**Created:** [September 20, 2021, 2:41pm UTC](https://devforum.zoom.us/t/zoomsdkshareelement-usage/57713 "2021-09-20T14:41:08Z")\
**Posts on this page:** 7\
**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:** [September 20, 2021, 2:41pm UTC](https://devforum.zoom.us/t/zoomsdkshareelement-usage/57713/1 "2021-09-20T14:41:08Z")

</div>

Hi!

Does `ZoomSDKShareElement` has general bandwidth with video elements?

I mean could I create single **720p** `ZoomSDKShareElement` if I have already created and displayed two **720p** video elements?

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:** [September 21, 2021, 6:21pm UTC](https://devforum.zoom.us/t/zoomsdkshareelement-usage/57713/2 "2021-09-21T18:21:36Z")

</div>

Hi @anton.yereshchenko,

Usually any type of remote video subscription will count towards the bandwidth limit, so in the scenario you are describing I would expect the videos to downgrade to non-HD.

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 22, 2021, 6:58am UTC](https://devforum.zoom.us/t/zoomsdkshareelement-usage/57713/3 "2021-09-22T06:58:52Z")

</div>

Hi @jon.zoom

I see. In which case could I see this situation?  
Maybe you know the next case.  
There is no sharing content only gray background, `createShareElement` method returns `TRUE` and `ShowShareRender:YES` returns `TRUE` too.

 ![Screenshot 2021-09-20 at 14.54.01](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/e/9/e96450bd6004edbba2f12c06c1ef41f228024206.png)

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:** [September 22, 2021, 4:45pm UTC](https://devforum.zoom.us/t/zoomsdkshareelement-usage/57713/4 "2021-09-22T16:45:03Z")

</div>

Hi @anton.yereshchenko,

Can you please provide a code snippet showing how you are setting up the share element?

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 29, 2021, 1:15pm UTC](https://devforum.zoom.us/t/zoomsdkshareelement-usage/57713/5 "2021-09-29T13:15:57Z")

</div>

Hi @jon.zoom

Yeah, sure, a code was copied from [here](https://marketplace.zoom.us/docs/sdk/native-sdks/macos/custom-ui-feature).  
But this case is reproducing, for example, when I already have 2 video elements (with speakers) with 720p and I want to display sharing.  
Without those video elements (with speakers) or with one speaker or if speakers have lower quality - sharing is displaying.  
As I understand, and as you said, ZoomSDK has general bandwidth limit for video and share elements  
But I haven’t got any error. For example, I can get 5,6 subscribe errors if I am out of limit, and for share element I don’t have any information about the limit.  
`ZoomSDKShareElement` doesn’t downgrade, in the case when I start screen sharing with 2 participants with 720p. But if first I start screen sharing, and after it display those participants - participants video elements will downgrade to non-HD.

**So could I know when `ZoomSDKShareElement` is out of limit? Or I shouldn’t display any of video elements (with speakers) when sharing is procced?**

And I have figured out that ZoomSDKShareElement has 1080p, is it normal behavior? Even I set small, tiny size - Zoom statistic will return 1080p.

---

<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 30, 2021, 4:27pm UTC](https://devforum.zoom.us/t/zoomsdkshareelement-usage/57713/6 "2021-09-30T16:27:38Z")

</div>

Hi @anton.yereshchenko,

If the share element is displaying 1080p, you will not be able to show video in other elements as only one 1080p video subscription can be active. This is one of a few scenarios in which the current bandwidth limitations prevent the SDK from being able to match the default UI’s behavior.

> And I have figured out that ZoomSDKShareElement has 1080p, is it normal behavior? Even I set small, tiny size - Zoom statistic will return 1080p.

It is definitely normal for the shared content to be 1080p if the device you are sharing from has a high enough screen resolution. Lowering the resolution by resizing is not supported since the client and default UI do not support this behavior. We’ll need to look into whether or not this is something we can support in custom UI mode.

Thanks!

---

<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 31, 2021, 2:27am UTC](https://devforum.zoom.us/t/zoomsdkshareelement-usage/57713/7 "2021-10-31T02:27:53Z")

</div>

Closed on October 31, 2021, 2:27am UTC

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