# I got fps error message in FireFox and Safari

**URL:** <https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445>\
**Category:** Web\
**Created:** [August 25, 2021, 7:07pm UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445 "2021-08-25T19:07:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![nslog0](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nslog0/32/30313_2.png) [@nslog0](https://devforum.zoom.us/u/nslog0)\
**Post date:** [August 25, 2021, 7:07pm UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445/1 "2021-08-25T19:07:33Z")

</div>

**Description**  
When I try to open the camera for 2 people then Firefox and Safari are started blinking and the console throw error ` fps error` but for google chrome is fine no error can see the video as normal while other are blinking

**Error**  
Safari

 ![Screen Shot 2564-08-26 at 02.00.05](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/1/9129c1853f7320d5104e4d53515cd254598ef3f0.png)

FireFox

 ![Screen Shot 2564-08-26 at 02.03.22](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/0/40b89d116c63395a48d6936ed209d66ea9e5735e.png)

**Which Web Video SDK version?**  
video sdk 1.1.4

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

1. join a session in chrome and open the camera
2. join a session another browser and open the camera

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

- Device: MacBook
- OS: macOS Big Sur 11.2.2
- Browser: Chrome v92, Firefox v91, Safari v14.0.3

---

<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:** [August 26, 2021, 5:26pm UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445/2 "2021-08-26T17:26:45Z")

</div>

Hey @nslog0 , thanks for sharing this.

Can you please provide a screen video of the issue?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![nslog0](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nslog0/32/30313_2.png) [@nslog0](https://devforum.zoom.us/u/nslog0)\
**Post date:** [August 26, 2021, 5:56pm UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445/3 "2021-08-26T17:56:31Z")

</div>

Hi @tommy ,  
Here you go the screenshot

Sorry, I cannot capture when is blinking but in the picture is blinking (please imagine). in picture 1,2 is the state when the canvas started to blink. it switches between 1 and 2.

1

 ![Screen Shot 2564-08-27 at 00.42.24](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/4/d/4d63eec98b4583451ca0cd6b0cca40aba05f675c.jpeg)

2

 ![Screen Shot 2564-08-27 at 00.42.35](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/b/ab6f7d551aee4b38f22f520826a62eb871bd0ffd.jpeg)

and this another one of error sometimes is not blinking but it render as pink

 ![Screen Shot 2564-08-27 at 00.45.20](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/f/cf9e4d014e609f846c4f23a506541340d4e06b1f.jpeg)

lastly, another question. as you see the canvas size of the video is not the same the small rectangle is a FF and the rectangle in 16:9 is Chrome. this error from how FF render or from my code itself? if you have a solution to fix please tell me. All my setting is 16:9 every browser

---

<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 27, 2021, 5:43am UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445/4 "2021-08-27T05:43:08Z")

</div>

Hey @nslog0

Thanks for your feedback.

Firefox, Safari can not support rendering multiple videos on a single canvas. You can refer to the sample react app code for the detail about this case. [sample-app-videosdk/video-single.tsx at master · zoom/sample-app-videosdk · GitHub](https://github.com/zoom/sample-app-videosdk/blob/master/react-demo/src/feature/video/video-single.tsx)

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![nslog0](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nslog0/32/30313_2.png) [@nslog0](https://devforum.zoom.us/u/nslog0)\
**Post date:** [August 29, 2021, 1:10pm UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445/5 "2021-08-29T13:10:53Z")

</div>

Hi @vic.yang  
Thank for you answer

So if I want to show multiple videos on the screen then I should create an individual canvas? it that right?

---

<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 30, 2021, 1:35am UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445/6 "2021-08-30T01:35:40Z")

</div>

Hey @nslog0

That’s right. For Firefox and Safari, you should use individual canvas for each video.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![nslog0](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nslog0/32/30313_2.png) [@nslog0](https://devforum.zoom.us/u/nslog0)\
**Post date:** [September 7, 2021, 9:28am UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445/7 "2021-09-07T09:28:28Z")

</div>

Hi @vic.yang @tommy,  
I have question that refers to [Are there any known issues with using multiple canvas elements for peer video streams? - #9 by vic.yang](https://devforum.zoom.us/t/are-there-any-known-issues-with-using-multiple-canvas-elements-for-peer-video-streams/55948/9) and [Multiple videos instead of the active video in Video SDK](https://devforum.zoom.us/t/multiple-videos-instead-of-the-active-video-in-video-sdk/46681)

it seems both links talk about rendering video in a single canvas but as per my issue as @vic.yang mention the error is because of rendering multiple videos on a single canvas. so should or should not to render video in a single canvas and how to fix error then?

---

<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 7, 2021, 9:44am UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445/8 "2021-09-07T09:44:09Z")

</div>

Hey @nslog0

On Firefox and Safari, we recommend that render video per canvas, and on Chrome and Edge, use a single canvas to render multiple videos.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![nslog0](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nslog0/32/30313_2.png) [@nslog0](https://devforum.zoom.us/u/nslog0)\
**Post date:** [September 7, 2021, 1:35pm UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445/9 "2021-09-07T13:35:28Z")

</div>

@vic.yang thanks

On Firefox and Safari, how do you recommend checking whether Firefox or Safari or Chrome. I’m working on Vuejs but on you react example I try to get understand but it doesn’t have code to checking like that

---

<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 8, 2021, 1:38am UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445/10 "2021-09-08T01:38:21Z")

</div>

Hey @nslog0

It depends on feature detection, Video SDK has exposed the `stream.isSupportMultipleVideos()` API for checking whether the browser supports rendering multiple videos.

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:** [October 8, 2021, 11:39am UTC](https://devforum.zoom.us/t/i-got-fps-error-message-in-firefox-and-safari/56445/11 "2021-10-08T11:39:07Z")

</div>

Closed on October 8, 2021, 11:39am UTC

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