1
0
Fork 0
mutter-performance-source/data
Pascal Nowack a2a4067e07 screencast: Add ability to stop streams
When a stream is destroyed by a consumer, mutter won't be able to
recognize that.
For mutter, the stream just paused, but did not disconnect, because the
connection state of a PipeWire stream only represents, whether the
respective PipeWire context is connected to PipeWire.
In addition to that, it may be the case, that the stream consumer just
recreates the stream.
So even if mutter would be able to know, when the stream consumer
destroyed a stream, but not the whole screencast or remote-desktop
session, then mutter would not know, whether the stream will be resumed
eventually or not.

So, add an explicit API call to the screencast interface to stop a
stream.
For virtual streams, this also means, that the respective virtual
monitor is destroyed.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2889
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3307>
2023-11-30 12:22:59 +01:00
..
dbus-interfaces screencast: Add ability to stop streams 2023-11-30 12:22:59 +01:00
50-mutter-navigation.xml Fix shortcut wording 2023-05-08 21:00:05 +00:00
50-mutter-system.xml data: Stop exposing old panel-main-menu shortcut 2021-08-30 21:43:34 +00:00
50-mutter-wayland.xml Add restore-shortcuts to key bindings list 2017-11-10 17:59:26 +01:00
50-mutter-windows.xml data: Don't expose window shading shortcut 2018-01-24 19:09:27 +01:00
61-mutter.rules Revert "udev-rules: Disable sending modifiers to clients with amdgpu" 2023-05-30 14:25:18 +02:00
default_icon.png build: Move data files to their dedicated subfolder 2014-06-05 10:50:15 +02:00
meson.build build: Join keybindings path correctly too 2023-05-04 12:35:38 +00:00
mutter-schemas.convert build: Move data files to their dedicated subfolder 2014-06-05 10:50:15 +02:00
org.gnome.mutter.gschema.xml.in input-capture: Hook up capturing of events to active session 2023-07-14 22:23:45 +00:00
org.gnome.mutter.wayland.gschema.xml.in settings: Fix spelling of endianness 2023-01-29 17:37:43 +01:00