Description
Video is not getting rendered on the canvas in fact of successfully promise returned while mediaStream.renderVideo.
Error
After connecting to the meeting, when I start my video it renders successfully on the canvas. But, after that when I disable my video and enable my video again, promise to render video returns success but my video is not displayed on canvas.
Which Web Video SDK version?
web video sdk ^1.1.0. I have tested on latest version (1.1.3) but issue still persist
To Reproduce
To reproduce the issue, try to toggle the video multiple times.
Device :
Device: MacBook Pro (16-inch, 2019)
OS: 11.2
Browser: Chrome
Browser Version 91.0.4472.114
Additional context
Have clone the same code here in react-demo directory
This is a known issue. We use ImageCapture in Video SDK, but it has potential problems that may cause video stuck. So we introduce WebCodecs to improve the issue. Since the API is not stable yet, you should register an origin trial to enable this feature.
Currently I am trying to render more than 1 videos on different canvas in safari as well as firefox and it’s seems that videos are getting render once. Then after toggling video it black out.
When can we expect full support for both the browser as well?
There is also one more problem while positioning video on canvas in firefox and safari, it is not getting positioned as expected. It positioned perfectly in chrome. Are you guys aware of that issue?
Could you show a screenshot of the positioning issue and your HTLM Canvas and CSS code so we can reproduce the issue? It could just be a CSS edge case in Firefox/Safari and not an issue with the Video SDK rendering.