# Session failing when using SharedArrayBuffer on iOS

**URL:** <https://devforum.zoom.us/t/session-failing-when-using-sharedarraybuffer-on-ios/122170>\
**Category:** Web\
**Tags:** video-sdk\
**Created:** [December 9, 2024, 4:46pm UTC](https://devforum.zoom.us/t/session-failing-when-using-sharedarraybuffer-on-ios/122170 "2024-12-09T16:46:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![baraky](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/baraky/32/65492_2.png) [@baraky](https://devforum.zoom.us/u/baraky)\
**Post date:** [December 9, 2024, 4:46pm UTC](https://devforum.zoom.us/t/session-failing-when-using-sharedarraybuffer-on-ios/122170/1 "2024-12-09T16:46:16Z")

</div>

**Description**  
When trying to join a session with an older iPhone, we’re getting errors that are preventing the iPhone user to see the other people cameras. When I turned off the SharedArrayBuffer (with the enforceMultipleVideos turned on), the errors disappeared, but the other cameras FPS were really low.

Our application is using NextJs + React.

**Browser Console Error**

In your environment, the maximum number of video-player that can be accommodated in each video-player-container is 1. The current number has exceeded this limit, which may cause video rendering issues.

**Which Web Video SDK version?**  
1.12.14

**To Reproduce(If applicable)**

1. To be able to test it locally, I used the ngrok to expose my localhost and be able to access the application on the iPhone without any security limitations
2. Join the session on the Desktop (working normally)
3. Join a session with the iPhone

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

- Device: iPhone X
- OS: iOS 16.7.10
- Browser: Safari
- Browser Version: Same as iOS

**Additional context**  
On our application, we have no control of browsers and OS the users will use.

---

<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:** [December 12, 2024, 5:55am UTC](https://devforum.zoom.us/t/session-failing-when-using-sharedarraybuffer-on-ios/122170/2 "2024-12-12T05:55:05Z")

</div>

Hey @baraky

Thanks for your feedback.

Could you share some problematic session IDs with us for troubleshooting purposes?

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![baraky](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/baraky/32/65492_2.png) [@baraky](https://devforum.zoom.us/u/baraky)\
**Post date:** [December 12, 2024, 4:38pm UTC](https://devforum.zoom.us/t/session-failing-when-using-sharedarraybuffer-on-ios/122170/3 "2024-12-12T16:38:22Z")

</div>

I returned the SharedArrayBuffer again and joined 2 sessions today:

`OX6yNO4bRdWXcl5Gzhq//w==`  
`2C5K8KVmS7ardXW4lfa35g==`

What we’re doing for now is skipping the `coi-serviceworker.js` setup only on iOS, so the other sessions can work normally.

Thank you.

---

<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:** [December 20, 2024, 8:18am UTC](https://devforum.zoom.us/t/session-failing-when-using-sharedarraybuffer-on-ios/122170/4 "2024-12-20T08:18:17Z")

</div>

Hey @baraky

We are working on the cause of the issue and will update you soon.

Thanks  
Vic

---

<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:** [January 19, 2025, 6:19pm UTC](https://devforum.zoom.us/t/session-failing-when-using-sharedarraybuffer-on-ios/122170/5 "2025-01-19T18:19:06Z")

</div>

Closed on January 19, 2025, 6:19pm UTC

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