KopiasCsaba / StreamFixerBrowserExtension

Helper extension for window capturing video chat web applications, to become usable for broadcasting.
GNU General Public License v3.0
11 stars 3 forks source link

[HELP NEEDED] Google meet in google chrome vs captureStream #12

Open KopiasCsaba opened 3 years ago

KopiasCsaba commented 3 years ago

Hi, this is me, the author of this extension:)

I'm experiencing a strange bug, and after a day I could not find a solution for this. If any of you have any ideas, let me know!

Steps to reproduce:

The result:

What's tracked down

Deductions

Extracted testcase

In order to make the test case as small as possible, it is repeatable with this code:

v = document.createElement('video')
v.setAttribute('width',200);
v.setAttribute('height',200);
v.style.zIndex=999999999999;
v.style.background='red';
v.style.position='absolute';
document.querySelector('body').appendChild(v);
var s =  document.querySelectorAll('video:not(.sfVideo)')[1].captureStream(100);
v.srcObject=s;
v.play();

Usage note:

This is what this will do:

And after a minute or so it will turn to this:

KopiasCsaba commented 3 years ago

I have opened a chrome issue for this, we'll see: https://bugs.chromium.org/p/chromium/issues/detail?id=1167894

Star it in their bugtracker if you encounter this one.