# FPS errors when switching camera

**URL:** <https://devforum.zoom.us/t/fps-errors-when-switching-camera/39715>\
**Category:** Web\
**Created:** [January 5, 2021, 1:33pm UTC](https://devforum.zoom.us/t/fps-errors-when-switching-camera/39715 "2021-01-05T13:33:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincent.deville.pro](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vincent.deville.pro/32/20177_2.png) [@vincent.deville.pro](https://devforum.zoom.us/u/vincent.deville.pro)\
**Post date:** [January 5, 2021, 1:33pm UTC](https://devforum.zoom.us/t/fps-errors-when-switching-camera/39715/1 "2021-01-05T13:33:04Z")

</div>

After joining a session when I use the function [`switchCamera`](https://marketplacefront.zoom.us/sdk/custom/web/modules/stream.html#switchcamera) the camera freeze for some seconds (sometimes more than 15) with multiple `'fps error'` messages logged form `'JsMediaSDK_VideoRender.js:64'`.  
Sometimes I have the same issue when I disable and then enable again a Camera using [`stopVideo`](https://marketplacefront.zoom.us/sdk/custom/web/modules/stream.html#stopvideo) and [`startVideo`](https://marketplacefront.zoom.us/sdk/custom/web/modules/stream.html#startvideo) functions.

I am using the version v1.0.0 of the FCWSDK

Is there any workaround for this issue or should I wait for a fix?

Thanks  
Vincent

---

<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:** [January 6, 2021, 5:23pm UTC](https://devforum.zoom.us/t/fps-errors-when-switching-camera/39715/2 "2021-01-06T17:23:25Z")

</div>

Hey @vincent.deville.pro,

Thanks for reporting this! Can you please share your device and browser information so we can take a look?

-Tommy

---

<div class="post-metadata">

**Author:** ![vincent.deville.pro](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vincent.deville.pro/32/20177_2.png) [@vincent.deville.pro](https://devforum.zoom.us/u/vincent.deville.pro)\
**Post date:** [January 6, 2021, 8:40pm UTC](https://devforum.zoom.us/t/fps-errors-when-switching-camera/39715/3 "2021-01-06T20:40:52Z")

</div>

Hi @tommy,

I had this issue on a Windows 10 computer and a Mac using the Chrome browser version 87.0.4280.88 (latest).

On the Mac I am switching between the internal ‘FaceTime HD 720p’ and an external ‘C922 Pro Stream Webcam 1080p’. My webcams have different resolutions.

---

<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:** [January 7, 2021, 11:45pm UTC](https://devforum.zoom.us/t/fps-errors-when-switching-camera/39715/4 "2021-01-07T23:45:52Z")

</div>

Thanks @vincent.deville.pro,

We are taking a look at this and will update you with what we find. (CS-2776)

-Tommy
