Black box on calling stopRenderVideo

Description
Whenever stopRenderVideo is called, video stops and a black box appears in its place.
I am rendering multiple videos on the same canvas. When a user leaves the meeting, stopRenderVideo(canvas, user_id) is called for that user and we are seeing black box instead of transparency in place of the video.

stream.clearVideoCanvas did not help.
When I tried to get the context of the canvas to clear the rectangle, I got an error saying, “Cannot get context from a canvas that has transferred its control to offscreen”.

So, how do I get rid of that black box.

Which Web Video SDK version?
1.0.3

To Reproduce(If applicable)
Call stopRenderVideo and you should be able to see it.

Screenshots
zoom_vpix_black_box

This is happening on firefox and chrome on ubuntu and mac.

Hey @sri.soham

Thanks for your feedback. We have found the problem and it will be fixed in the next release. Currently, you can try to hide the canvas element when all videos stopped as a workaround.

Thanks
Vic

1 Like

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