1
0
Fork 0
mutter-performance-source/data/dbus-interfaces
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
..
meson.build Move D-Bus interface files to dedicated directory 2021-12-07 18:52:29 +00:00
org.freedesktop.login1.xml Move D-Bus interface files to dedicated directory 2021-12-07 18:52:29 +00:00
org.freedesktop.RealtimeKit1.xml Move D-Bus interface files to dedicated directory 2021-12-07 18:52:29 +00:00
org.gnome.Mutter.DisplayConfig.xml monitor-manager: Add NightLightSupported property to DisplayConfig 2022-05-17 08:42:25 +00:00
org.gnome.Mutter.IdleMonitor.xml Move D-Bus interface files to dedicated directory 2021-12-07 18:52:29 +00:00
org.gnome.Mutter.InputCapture.xml input-capture: Hook up capturing of events to active session 2023-07-14 22:23:45 +00:00
org.gnome.Mutter.InputMapping.xml backends: Expose InputMapping D-Bus path to determine tablet mapping 2022-09-02 18:34:36 +00:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop/session: Limit device type access when using libei 2023-09-01 10:43:26 +00:00
org.gnome.Mutter.ScreenCast.xml screencast: Add ability to stop streams 2023-11-30 12:22:59 +01:00
org.gnome.Mutter.ServiceChannel.xml Introduce the 'service channel' D-Bus service 2023-02-13 15:34:24 +00:00
org.gnome.SettingsDaemon.Color.xml color-manager: Set up a D-Bus proxy to org.gnome.SettingsDaemon.Color 2022-09-01 16:54:04 +02:00
org.gnome.SettingsDaemon.Power.Screen.xml color-manager: Add API to set brightness 2022-09-01 17:52:01 +02:00