# mediaStream.isSupportMultipleVideos() always returns 'true' even if SharedArrayBuffer is disabled

**URL:** <https://devforum.zoom.us/t/mediastream-issupportmultiplevideos-always-returns-true-even-if-sharedarraybuffer-is-disabled/101888>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [January 16, 2024, 9:31am UTC](https://devforum.zoom.us/t/mediastream-issupportmultiplevideos-always-returns-true-even-if-sharedarraybuffer-is-disabled/101888 "2024-01-16T09:31:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arfa.ahmed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arfa.ahmed/32/33501_2.png) [@arfa.ahmed](https://devforum.zoom.us/u/arfa.ahmed)\
**Post date:** [January 16, 2024, 9:31am UTC](https://devforum.zoom.us/t/mediastream-issupportmultiplevideos-always-returns-true-even-if-sharedarraybuffer-is-disabled/101888/1 "2024-01-16T09:31:54Z")

</div>

**Description**  
After update zoom video sdk web to version 1.10.5, [mediaStream.isSupportMultipleVideos()](https://marketplacefront.zoom.us/sdk/custom/web/modules/Stream.html#isSupportMultipleVideos) always returns ‘true’ even if SharedArrayBuffer is disabled.

**Browser Console Error**  
No error

**Which Web Video SDK version?**  
1.10.5

**Video SDK Code Snippets**  
mediaStream.isSupportMultipleVideos()

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Join session when SharedArrayBuffer is disabled
2. Click turn on camera button
3. Now video will not be rendered on canvas but rendered on other participants side

**Device (please complete the following information):**

- Device: Desktop
- OS: Windows 10
- Browser: Microsoft Edge
- Browser Version 120.0.2210.133 (Official build) (64-bit)

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [January 16, 2024, 10:54am UTC](https://devforum.zoom.us/t/mediastream-issupportmultiplevideos-always-returns-true-even-if-sharedarraybuffer-is-disabled/101888/2 "2024-01-16T10:54:50Z")

</div>

Hey @arfa.ahmed

Did you set the `enforceMultipleVideos` parameter when calling `client.init` method? If set to true, it means multiple videos can be rendered on the same canvas without SharedArrayBuffer.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![arfa.ahmed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arfa.ahmed/32/33501_2.png) [@arfa.ahmed](https://devforum.zoom.us/u/arfa.ahmed)\
**Post date:** [February 2, 2024, 1:52pm UTC](https://devforum.zoom.us/t/mediastream-issupportmultiplevideos-always-returns-true-even-if-sharedarraybuffer-is-disabled/101888/3 "2024-02-02T13:52:58Z")

</div>

Yes, `enforceMultipleVideos` is set equal to `!window.crossOriginIsolated`. However, only the self-video is rendered on a single canvas, while other participants show a black screen.

---

<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:** [March 3, 2024, 11:53pm UTC](https://devforum.zoom.us/t/mediastream-issupportmultiplevideos-always-returns-true-even-if-sharedarraybuffer-is-disabled/101888/4 "2024-03-03T23:53:06Z")

</div>

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