Skip to content

Screen Capture Session

Jan Grulich edited this page Jun 9, 2022 · 1 revision

Topics for Screen Capture Session

Wayland/PipeWire

UX issues

Allan Day (UX designer from GNOME) made mockups for the ScreenCast portal trying to include:

Mockup can be found here: https://gitlab.gnome.org/Teams/Design/os-mockups/-/blob/master/portals/screen-sharing-experimental.png

SharedMemoryDesktopFrame usage?

[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.

Clone this wiki locally