canvas.captureStream() show black background

203 views
Skip to first unread message

Yadavendra Yadav

unread,
Oct 29, 2021, 4:04:12 PM10/29/21
to discuss-webrtc
Hi All,

First of all thank you for paying attention.

I was trying to stream my canvas element. So, I've use canvas.captureStream().. It streams the video perfectly. but this video background is black, and I need it white, bcoz, I'm using it for the whiteboard.

Input: 
DAv8d.png


Output:
GV0ij.png

But i need the white background in my video.
Can anyone please help me.

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages