screencast: Correct expected bus name for streams

Previously, this only worked because GDBusConnection was not filtering
signals by their sender correctly (GNOME/glib#3268).

Thanks: Alicia Boya García
Signed-off-by: Simon McVittie <smcv@debian.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3303>
This commit is contained in:
Simon McVittie
2024-05-06 21:58:09 +01:00
committed by Philip Withnall
parent a86925293f
commit 50a011a19d

View File

@ -340,7 +340,7 @@ class Recorder extends Signals.EventEmitter {
});
this._streamProxy = new ScreenCastStreamProxy(Gio.DBus.session,
'org.gnome.ScreenCast.Stream',
'org.gnome.Mutter.ScreenCast',
streamPath);
this._streamProxy.connectSignal('PipeWireStreamAdded',