-
Notifications
You must be signed in to change notification settings - Fork 12
Linux wayland support #38
base: main
Are you sure you want to change the base?
Conversation
This is looking awesome so far. I think we may want to build an abstraction around whether window selection can happen application side vs window manager side, since the current interface isn't a 1:1 match with how it's done on xdg-desktop-portal, but that's still TBD. I'm planning to also do a basic XCB based implementation which is more in line with the current API, but likely with lower performance. To that end, can you make the platform folder name represent the capturing backend as well? Something like Backend selection is probably another important abstraction we want to make for any case where there are multiple supported backends. For now, that's just a future plan for Linux. |
Callback for state_changed event so that stream errors and unconnected events can be handled and notify consumer(s)
+ treat virtual sources as display
I have removed the option to render the cursor as metadata as there seems to be a lot of edge cases where it won't work, e.g. when I tested display capture + cursor as meta on plasma the cursor was already rendered on the frame when it was received. This whole functionality can be omitted by having a show_cursor flag in There's also a problem with the red and blue channels should be swapped for some pixel formats on some hardware. This seems to be a known problem and there's probably a way to identify these cases. I would have to look into how OBS-studio does it. |
Hey! Is this project sunset? |
This implements basic wayland screencapture.
TODO