Skip to content

gnomescreencast: Embed monitor connector as stream property

If a screencast session is screencasting from multiple monitors, it is not possible to distinguish which stream (or PipeWire stream node id) belongs to which connected monitor (such information may be useful to the caller when if they want to embed the stream in a window that and name it after the monitor connector, for example). This change adds optional metadata for monitor streams to also return the monitor connector name with the stream.

Ideally, this metadata should equip the caller to get more information about display from the following Wayland interfaces:

Related: https://github.com/flatpak/xdg-desktop-portal/pull/832

Merge request reports