# Reattach same stream to another canvas

**URL:** <https://devforum.zoom.us/t/reattach-same-stream-to-another-canvas/50602>\
**Category:** Web\
**Created:** [May 19, 2021, 4:01pm UTC](https://devforum.zoom.us/t/reattach-same-stream-to-another-canvas/50602 "2021-05-19T16:01:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![arunkumar.mohan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arunkumar.mohan/32/19345_2.png) [@arunkumar.mohan](https://devforum.zoom.us/u/arunkumar.mohan)\
**Post date:** [May 19, 2021, 4:01pm UTC](https://devforum.zoom.us/t/reattach-same-stream-to-another-canvas/50602/1 "2021-05-19T16:01:34Z")

</div>

Video is not displayed when i reattach same stream to another canvas

1.0.3

Steps to reproduce the behavior:

1. stream.reanderVideo(canvas, width, height,x,y,quality);
2. store this stream to a local array
3. do this time from the local array.stream.reanderVideo(canvas, width, height,x,y,quality);
4. No video is displayed

**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:** [May 20, 2021, 3:58pm UTC](https://devforum.zoom.us/t/reattach-same-stream-to-another-canvas/50602/2 "2021-05-20T15:58:36Z")

</div>

Hey @arunkumar.mohan ,

Thanks for reporting this. Are you seeing any error messages in the browser console?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![arunkumar.mohan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arunkumar.mohan/32/19345_2.png) [@arunkumar.mohan](https://devforum.zoom.us/u/arunkumar.mohan)\
**Post date:** [May 20, 2021, 4:16pm UTC](https://devforum.zoom.us/t/reattach-same-stream-to-another-canvas/50602/3 "2021-05-20T16:16:55Z")

</div>

HI @tommy , Nope, No error, Just video is not displayed on canvas

Situation is ,  
1) If one stream for one user is attached to 1 canvas → works  
2) If i try to attach the same stream for the same user in a different part of the app → Fails (No video)

---

<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:** [May 21, 2021, 4:48pm UTC](https://devforum.zoom.us/t/reattach-same-stream-to-another-canvas/50602/4 "2021-05-21T16:48:18Z")

</div>

Gotcha, thanks @arunkumar.mohan .

Have you tried stopping the video before re attaching to the other canvas?

`await stream.stopRenderVideo(canvas,userId);`

> **[Manage Video - Essential Guides - Web - Video SDKs - Zoom Software...](https://marketplace.zoom.us/docs/sdk/video/web/essential/video#render-video)**
>
> Manage Video
> 
> 
> 
> This section goes over the video stream APIs. 
> 
> All methods can be accessed through a stream instance retrieved through the client.getMe...

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:** [June 21, 2021, 2:48am UTC](https://devforum.zoom.us/t/reattach-same-stream-to-another-canvas/50602/5 "2021-06-21T02:48:24Z")

</div>

Closed on June 21, 2021, 2:48am UTC

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