-
Notifications
You must be signed in to change notification settings - Fork 6
Screen Capture Session
Allan Day (UX designer from GNOME) made mockups for the ScreenCast portal trying to include:
- https://github.com/flatpak/xdg-desktop-portal/issues/758
- https://github.com/flatpak/xdg-desktop-portal/issues/800
Mockup can be found here: https://gitlab.gnome.org/Teams/Design/os-mockups/-/blob/master/portals/screen-sharing-experimental.png
[jgrulich]: I would like to further improve performance of the capturer. In the first implementation of the capturer we copied content of PipeWire buffer to a temporary buffer and then we copied content of the temporary buffer to DesktopFrame that got returned via WebRTC API. Later I changed/improved this to skip the temporary buffer so we now copy directly to DesktopFrame (merge request). I would like to go further and investigate option to skip copying to DesktopFrame and use SharedMemoryDesktopFrame, but I never understood how this works. My assumption is that we can just assign allocated buffer/memory to that frame and avoid the copy operation. This should again improve performance significantly as we would avoid unnecessary copy operation.