-
Notifications
You must be signed in to change notification settings - Fork 10.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Window cannot be shared in browser (firefox, chromium) in linux #2640
Comments
You could use V4L2 sink: https://github.com/Genymobile/scrcpy#v4l2loopback (to expose the device screen as a webcam) |
(That's weird that the window is not listed though.) |
I already thought of that, but that means usually that I cannot use my real webcam in video conferences simultaneously :-) . |
I have the same problem on Debian Sid, Gnome 40.4, Xorg version 1.20.11, Android 11, Scrcpy 1.19 and Google Chrome 94. |
Could please you ask/report to SDL? (scrcpy just opens a SDL window) |
The problem seems indeed to be related to SDL. Using libsdl2-2.0-0 version 2.0.16 does not work, whereas the version 2.0.14 works. |
should have looked here before my video call before 🤣 Shared the whole screen at the end but good to know it's not just my browser |
Apparently this bug is caused by a property (WM_NAME) that SDL is not setting on windows created using SDL_CreateWindow. |
Looks like the linked issue (libsdl-org/SDL#4924) is fixed already, any chance getting this also fixed in scrcpy? |
I guess scrcpy has nothing to do, upgrade your SDL/distro if the fix is released. |
Environment
Describe the bug
In Manjaro with Cinnamon desktop, the window cannot be shared in video conferences both in firefox and chromium.
The window is simply not listed among the possible windows:
However, sharing the complete desktop works fine.
Sharing the window in video conferences would be great for using Android tablets with pen input devices for presentations, sketching, teaching purposes ...
I am not sure how much this is related to scrcpy. On the other hand, I have this issue with no other application.
The text was updated successfully, but these errors were encountered: