# Are there any known issues with using multiple canvas elements for peer video streams?

**URL:** <https://devforum.zoom.us/t/are-there-any-known-issues-with-using-multiple-canvas-elements-for-peer-video-streams/55948>\
**Category:** Web\
**Created:** [August 17, 2021, 4:06pm UTC](https://devforum.zoom.us/t/are-there-any-known-issues-with-using-multiple-canvas-elements-for-peer-video-streams/55948 "2021-08-17T16:06:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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, 4:25pm UTC](https://devforum.zoom.us/t/are-there-any-known-issues-with-using-multiple-canvas-elements-for-peer-video-streams/55948/2 "2021-08-17T16:25:57Z")

</div>

Hey @seth ,

Using a single canvas will have better performance.

Related:

> [@Too many active WebGL contexts. And all videos disappears after that](https://devforum.zoom.us/t/too-many-active-webgl-contexts-and-all-videos-disappears-after-that/51620/3):
>
> Hey @mx_ryabov , It appears you may not be using the canvas elements correctly, and it may be causing the issues with garbage collection. I see you are calling stopRender on the old canvas and startRender on the new one, but typically, you should be called on the exact same canvas. In addition, our API allows users to draw multiple streams on a single canvas, so I would encourage you to take a closer look at our demo app. slight_smile If you are able to reproduce the issue on our sample app…

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/are-there-any-known-issues-with-using-multiple-canvas-elements-for-peer-video-streams/55948)._
