# Zoom Video SDK - FPS Error

**URL:** <https://devforum.zoom.us/t/zoom-video-sdk-fps-error/57812>\
**Category:** Web\
**Created:** [September 22, 2021, 7:26am UTC](https://devforum.zoom.us/t/zoom-video-sdk-fps-error/57812 "2021-09-22T07:26:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mianmuneebajaz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mianmuneebajaz/32/27475_2.png) [@mianmuneebajaz](https://devforum.zoom.us/u/mianmuneebajaz)\
**Post date:** [September 22, 2021, 7:26am UTC](https://devforum.zoom.us/t/zoom-video-sdk-fps-error/57812/1 "2021-09-22T07:26:50Z")

</div>

**Description**  
Hi, I am using Zoom Video SDK(Latest version at date)/React Demo Project. I have attached screenshot of errors. On my local environment Grid View is working fine but when i deploy it to any server tried (aws amplify, firebase hosting) Live Session cause issues.  
I dug deeper and found out on live environment there is bit called **`isSupportGalleryView`** becomes **false** , while on local environment it is **true** , which causes live environment to use component `VideoSingle`. So what I did is, I commented out the logic:

```auto
{/* <Route path="/video" component={isSupportGalleryView ? Video : VideoSingle} /> */}

```

to

```auto
<Route path="/video" component={Video} />

```

Everything should work fine now right? Well sadly it got worse from here. Now Grid view does work but it is rendering out one video stream in background of those Avatars.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/c/4c93693a91383b9d67c7803bba82167c854bbca4.png)

🤯 Dang it right? wait There is more

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/9/0951aa93ddaf72bb2b4f65e87f1985b7025da0ea.jpeg)

**Which Web Video SDK version?**  
`"@zoom/videosdk": "^1.1.4"`

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

1. Go to ’ [Zipclass Live Session (zoomvsdk.web.app)](https://zoomvsdk.web.app/video)’
2. Click on ‘Start Camera’
3. See error

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

- Device:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/e/fe84cf2aae60d2922c8707fd955a4bc4ff628217.png)
- OS:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/d/0d58a7ea84c7add449eee523a819e3de8708e889.png)
- Browser:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/2/d21cb49d905ca8227c0afde8ea797dec24ceccd8.png) ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/e/be6d781101953146e8d60826fd36acd94155613d.png)

---

<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:** [September 22, 2021, 10:13am UTC](https://devforum.zoom.us/t/zoom-video-sdk-fps-error/57812/2 "2021-09-22T10:13:33Z")

</div>

Hey @mianmuneebajaz

Thanks for your feedback.

In Video SDK, we use `SharedArrayBuffer` to share data between worker and main thread, starting from Chrome 92, `SharedArrayBuffer` can only be accessible in isolated mode. In the local environment, we have added the CORP-related headers in the webpack devserver configuration, but in the production environment, you should do it by yourself. You can refer to this article for the detail [https://marketplace.zoom.us/docs/sdk/native-sdks/web/advanced/web-isolation](https://marketplace.zoom.us/docs/sdk/native-sdks/web/advanced/web-isolation).

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![mianmuneebajaz](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mianmuneebajaz/32/27475_2.png) [@mianmuneebajaz](https://devforum.zoom.us/u/mianmuneebajaz)\
**Post date:** [October 14, 2021, 10:28am UTC](https://devforum.zoom.us/t/zoom-video-sdk-fps-error/57812/3 "2021-10-14T10:28:08Z")

</div>

Hi @vic.yang,  
This(Cross Origin Trials) actually did resolved the issue on

1. Chrome(windows)
2. Edge(Windows)

But, other browsers(listed below) still have same issue for multiple streaming

1. Firefox (Windows)
2. Chrome(Mac)
3. Any android/IOS Browser
4. Safari/any browser in Mac

On [Zoom Web Video SDK documentation](https://marketplace.zoom.us/docs/sdk/video/web) page it clearly says that **Chrome** is supported. But in our testing results are not quite the same. Chrome Browser installed on (IOS/Android/Mac) did not worked/shown same results I have previously attached.

> We are on version(1.1.5) and using [https://source.zoom.us/videosdk/1.1.5/lib](https://source.zoom.us/videosdk/1.1.5/lib) to initialize SDK.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [October 29, 2021, 9:38pm UTC](https://devforum.zoom.us/t/zoom-video-sdk-fps-error/57812/4 "2021-10-29T21:38:25Z")

</div>

Hey @mianmuneebajaz ,

Multiple video streams (Gallery View) are only supported in Chrome and Edge.

In Safari and Firefox, only one active video (speaker and self view) is supported at this time.

Mobile Browsers are not supported yet: [https://marketplace.zoom.us/docs/sdk/video/web#browser-support](https://marketplace.zoom.us/docs/sdk/video/web#browser-support)

Thanks,  
Tommy

---

<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:** [November 29, 2021, 7:38am UTC](https://devforum.zoom.us/t/zoom-video-sdk-fps-error/57812/5 "2021-11-29T07:38:31Z")

</div>

Closed on November 29, 2021, 7:38am UTC

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