nickuk
(Nick)
October 5, 2021, 3:26pm
1
Description
After calling mediaStream.stopRenderVideo(...)
a black box remains.
I’ve tried doing mediaStream.stopRenderVideo(...).then(() => mediaStream.clearVideoCanvas(..))
which resolves without error, but the black box remains.
Browser Console Error
No errors
Which Web Video SDK version?
1.1.5
Device (please complete the following information):
macOS Big Sur
Chrome 94
tommy
(Tommy Gaessler)
October 5, 2021, 9:38pm
2
Hey @nickuk ,
It looks like we did push an update that fixed this issue:
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
However, maybe it is a different issue. As a workaround you can try to hide / destroy the canvas with CSS or JS.
Can you provide a screenshot and a screenshot of the black box canvas in the browser DOM ?
CC @vic.yang
Thanks,
Tommy
nickuk
(Nick)
October 6, 2021, 10:35am
3
Hi @tommy / @vic.yang ,
Sure, see below:
Dev tools screenshot:
The canvas is positioned absolutely to 0, 0, has a width of 100vw, a height of 100vh, and a background color of transparent via stylesheet.
Thanks,
Nick
tommy
(Tommy Gaessler)
October 7, 2021, 8:07pm
4
Thanks @nickuk .
@vic.yang , is there a recommend way to destroy the canvas, or is this a bug we can fix?
-Tommy
nickuk
(Nick)
October 12, 2021, 8:20am
5
Hi @tommy / @vic.yang ,
Just an extra note to help you along on this…
It appears as though maybe the buffer for the canvas isn’t being flushed or something similar. The reason I say this is that when you resize the window, which adjusts the canvas’ height and width, then the black box disappears.
Thanks,
Nick
tommy
(Tommy Gaessler)
October 12, 2021, 4:57pm
6
Thanks for sharing that @nickuk !
We will take a look. (ZOOM-315217)
-Tommy
tommy
(Tommy Gaessler)
November 4, 2021, 10:31pm
7
Hey @nickuk ,
We just released 1.1.6 with the fix:
Hello Zoom Developers, here are the updates for the Web Video SDK version 1.1.6 release :
Added
mirrorVideo API call (see the Web Video SDK reference documentation for more details)
Fixed
underlyingColor option not working properly after calling stopRenderVideo
SDK points to the correct dependencies for this version (see Web Video SDK 1.1.5 Dependency Work Around for issue with previous version)
Enhanced
startVideo API call with mirror option
startAudio API call with speakerOnly op…
Thanks,
Tommy
system
(system)
Closed
December 5, 2021, 8:31am
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.