Reattach same stream to another canvas

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


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, width, height,x,y,quality);
  4. No video is displayed

Additional context
Add any other context about the problem here.

Hey @arunkumar.mohan ,

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


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)

Gotcha, thanks @arunkumar.mohan .

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

await stream.stopRenderVideo(canvas,userId);


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