# Unable to render multiple videos despite setting enforceMultipleVideos=true

**URL:** <https://devforum.zoom.us/t/unable-to-render-multiple-videos-despite-setting-enforcemultiplevideos-true/116036>\
**Category:** Web\
**Created:** [August 21, 2024, 7:29am UTC](https://devforum.zoom.us/t/unable-to-render-multiple-videos-despite-setting-enforcemultiplevideos-true/116036 "2024-08-21T07:29:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [August 21, 2024, 7:29am UTC](https://devforum.zoom.us/t/unable-to-render-multiple-videos-despite-setting-enforcemultiplevideos-true/116036/1 "2024-08-21T07:29:35Z")

</div>

**Description**

I want to render multiple videos across all devices, and I’ve enforced this by setting `enforceMultipleVideos=true` in the `client.init` method. After that, I create a `video-player-container` and attach multiple `video-player` elements to it.

However, on an iPad Air 2 running iOS 15.6.1 with Safari, even after initializing the video client, `stream.isSupportMultipleVideos` still returns `false`. As a result, only one video is displayed at a time, with videos flashing between each other.

Is this a bug in the VideoSDK, or do you have any suggestions for rendering multiple videos? (I’m considering is creating multiple `video-player-containers`, each with a single `video-player`)

**Which Web Video SDK version?**

1.11.10

**Devices**

- Device: iPad Air 2
- OS: 15.6.1
- Browser: Safari

---

<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:** [August 21, 2024, 8:11am UTC](https://devforum.zoom.us/t/unable-to-render-multiple-videos-despite-setting-enforcemultiplevideos-true/116036/2 "2024-08-21T08:11:27Z")

</div>

Hey @lmtruong1512

Thanks for your feedback.

Are you referring to this model of iPad air?

[https://support.apple.com/en-us/112017](https://support.apple.com/en-us/112017)

If so, since the limited performance of the device, it currently cannot render multiple videos.

However, in versions after 1.12.0, we’ve made optimizations that allow support for rendering up to 2 videos.

Could you please upgrade the Video SDK version and try again?

> **[Version 1.12.0](https://developers.zoom.us/changelog/video-sdk/web/1.12.0/)**
>
> Enhanced with an active-media-failed event for media issues and support for 2-core devices to render 2 videos. Fixed audio callback, video, memory, and join issues.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [August 21, 2024, 9:24am UTC](https://devforum.zoom.us/t/unable-to-render-multiple-videos-despite-setting-enforcemultiplevideos-true/116036/3 "2024-08-21T09:24:16Z")

</div>

@vic.yang

Thank you for your support,

> Are you referring to this model of iPad air?

Yes

> However, in versions after 1.12.0, we’ve made optimizations that allow support for rendering up to 2 videos.

I attempted to upgrade to SDK versions 1.12.0 and 1.12.1 and tried rendering two `video-player` instances within the same `video-player-container`. However, the issue persisted, with only one video being displayed and videos flashing between each other.

This is my meeting session id: “eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcHBfa2V5IjoiN3ZBUExTZ3FuZkp2dTN5S1dVZlVHaUE5M0NmVlZsMzZVOThwIiwicm9sZV90eXBlIjowLCJ0cGMiOiI0NjU4NzMzMDI4IiwidmVyc2lvbiI6MSwidXNlcl9pZGVudGl0eSI6IjQ3MjAwNTg5NDkiLCJzZXNzaW9uX2tleSI6IjQ2NTg3MzMwMjgiLCJpYXQiOjE3MjQyMzE0NDMsImV4cCI6MTcyNDI0MjI0M30.e955CJsvxMkuNJGOf3ZZp4PbkwRpdvlR-t-L-oa7TWE”

---

<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:** [August 21, 2024, 9:34am UTC](https://devforum.zoom.us/t/unable-to-render-multiple-videos-despite-setting-enforcemultiplevideos-true/116036/4 "2024-08-21T09:34:33Z")

</div>

Hey @lmtruong1512

Could you provide the session ID with us instead of the JWT token?

It can be retrieved via `client.getSessionInfo().sessionId` or from the dashboard on the web portal page.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [August 21, 2024, 10:35am UTC](https://devforum.zoom.us/t/unable-to-render-multiple-videos-despite-setting-enforcemultiplevideos-true/116036/5 "2024-08-21T10:35:45Z")

</div>

Hey Vic,

My apologies for the mistake. Here is my session ID. Could you please check it for me?

“v+Ms25TpQrWr5vOQG1YXTg==”

---

<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:** [August 21, 2024, 11:04am UTC](https://devforum.zoom.us/t/unable-to-render-multiple-videos-despite-setting-enforcemultiplevideos-true/116036/6 "2024-08-21T11:04:30Z")

</div>

Hey @lmtruong1512

> v+Ms25TpQrWr5vOQG1YXTg==

We analyzed the log, the platform doesn’t support `OffscreenCanvas` API while `SharedArrayBuffer` is enabled. So it meets an unsupported scenario.

A temporary solution is to disable `SharedArrayBuffer`, which will prevent us from using `Offscreen Canvas` to render the video.

Sorry for the many current limitations. We are working on a new video solution in beta, based on WebRTC Video, which will eliminate constraints and be easier to work with. It will be released around October.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [August 21, 2024, 11:16am UTC](https://devforum.zoom.us/t/unable-to-render-multiple-videos-despite-setting-enforcemultiplevideos-true/116036/7 "2024-08-21T11:16:21Z")

</div>

@vic.yang Thank you for your response. I’m looking forward to the next release in October.

---

<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:** [September 20, 2024, 9:16pm UTC](https://devforum.zoom.us/t/unable-to-render-multiple-videos-despite-setting-enforcemultiplevideos-true/116036/8 "2024-09-20T21:16:36Z")

</div>

Closed on September 20, 2024, 9:16pm UTC

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