# Uncaught RuntimeError: memory access out of bounds on selecting a different camera

**URL:** <https://devforum.zoom.us/t/uncaught-runtimeerror-memory-access-out-of-bounds-on-selecting-a-different-camera/55806>\
**Category:** Web\
**Created:** [August 14, 2021, 6:03pm UTC](https://devforum.zoom.us/t/uncaught-runtimeerror-memory-access-out-of-bounds-on-selecting-a-different-camera/55806 "2021-08-14T18:03:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![divesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/divesh/32/30110_2.png) [@divesh](https://devforum.zoom.us/u/divesh)\
**Post date:** [August 14, 2021, 6:03pm UTC](https://devforum.zoom.us/t/uncaught-runtimeerror-memory-access-out-of-bounds-on-selecting-a-different-camera/55806/1 "2021-08-14T18:03:44Z")

</div>

**Description**

# Uncaught RuntimeError: memory access out of bounds Error on selecting a different camera

**Error**  
Uncaught RuntimeError: memory access out of bounds  
[https://github.com/zoom/videosdk-web/issues/2](https://github.com/zoom/videosdk-web/issues/2)  
**Which Web Video SDK version?**  
1.0.3

**To Reproduce(Applicable to React Sample application)**  
Steps to reproduce the behavior:

1. Install OBS Virtual Camera in your local system to enable switch camera functionality in dropdown of camera
2. Click on Camera Icon to switch on camera
3. Select a different camera
4. Canvas will free .. observe error in browser console

**Screenshots**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/8/0888475479326a67e28a70ad0d543449e6c6ccfb.png)

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

- Device: Chrome
- OS: Windows 10
- Browser: Chrome 92
- Browser Version [92]

**Additional context**  
Add any other context about the problem here.

---

<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 17, 2021, 5:59pm UTC](https://devforum.zoom.us/t/uncaught-runtimeerror-memory-access-out-of-bounds-on-selecting-a-different-camera/55806/2 "2021-08-17T17:59:23Z")

</div>

Hey @divesh , thanks for posting!

> [@divesh](#):
>
> **Which Web Video SDK version?**  
> 1.0.3

Can you please try using the latest version 1.1.3 ? If the issue still happens it is most likely an edge case with OBS Virtual Camera that we will need to investigate.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![divesh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/divesh/32/30110_2.png) [@divesh](https://devforum.zoom.us/u/divesh)\
**Post date:** [August 18, 2021, 7:11am UTC](https://devforum.zoom.us/t/uncaught-runtimeerror-memory-access-out-of-bounds-on-selecting-a-different-camera/55806/3 "2021-08-18T07:11:23Z")

</div>

Hey @tommy : It is reproducible in 1.1.3 version as well.

---

<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 20, 2021, 3:46am UTC](https://devforum.zoom.us/t/uncaught-runtimeerror-memory-access-out-of-bounds-on-selecting-a-different-camera/55806/4 "2021-08-20T03:46:34Z")

</div>

Hey @divesh

Thanks for your feedback. Does the physical camera work? We haven’t tested on OBS Virtual Camera and we will investigate it.

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:** [September 19, 2021, 1:47pm UTC](https://devforum.zoom.us/t/uncaught-runtimeerror-memory-access-out-of-bounds-on-selecting-a-different-camera/55806/5 "2021-09-19T13:47:09Z")

</div>

Closed on September 19, 2021, 1:47pm UTC

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