Issue changing video feed to canvas

Version Data:
zoom/videosdk: 1.4.1
browser:
chrome: Version 106.0.5249.119
edge: Version 106.0.1370.52

Hi
In my application, I have to change the video feed to one of the canvases as per business logic. When i try to stopRender of current feed and startVideo of new feed, i got the following error:

video_error

Could you help me understand the cause and possible precautions I could take to avoid it? Are there any specific steps to be followed while switching a video feed?

Thanks
Ashish

Hey @ashish.beetle

Were you using Chrome or Edge but not enabling the SharedArrayBuffer?Web SDK Gallery View and Virtual Background

And if so, did you specify the same id attribute for the different canvases?

Thanks
Vic

Hi @vic.yang

I am using Chrome. I do not have SharedArrayBuffer enabled. I need to render the videos in separate canvases as per our ui requirement.

I did specify separate ids for each canvas.

Thanks
Ashish

Hey @ashish.beetle

I cannot reproduce the issue on my devices. Would you mind sharing the code snippets where the issues occur?

Thanks
Vic

Hi @vic.yang

The error happens when I try to stop the rendering of a user in a canvas and start the render of another user in the same canvas.

This switch may happen in succession as per business requirement.

Please advice if there is any error in my execution.

function to change the video

startMainVideo()

stopMainVideo()

Thanks
Ashish

Hey @ashish.beetle

The code works, and I tried similar code on my device, no issues.

Thanks
Vic

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