Desktopcapturer

i am not sure how to solve this,

in windows 8 there are stray windows like charm bar, start menu, etc…
in windows 10 the applications which are build in electron/google chrome appear black while sharing

Any ideas how to solve this,

thanks…

1 Like

I have tried a few things.
The image is not empty, the black image that is returned has different data every time so it’s not possible to filter out a constant image.
The only thing I could find is to filter out specific applications like “charm bar”, “search pane” and “start menu” by name which is not a very good solution.

I found the core issue, its with WEBRTC in the file “webrtc\modules\desktop_capture\window_capture_win.cc” there is code to filter unnecessary windows
like (wcscmp(class_name, L"ApplicationFrameWindow") == 0 ||
wcscmp(class_name, L"Windows.UI.Core.CoreWindow") == 0))

we just have to add other windows with respect to windows 8

1 Like