mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
media-session: handle dbus disconnect
Make a signal in media-session to signal dbus disconnect. Get the DBusConnection when we need it in alsa and access-portal. Remove device reservation if dbus disconnects and try again later when needed. See #1099
This commit is contained in:
parent
d8208c5c2d
commit
ba544c8e36
4 changed files with 136 additions and 80 deletions
|
|
@ -242,6 +242,8 @@ struct sm_media_session_events {
|
|||
void (*destroy) (void *data);
|
||||
|
||||
void (*seat_active) (void *data, bool active);
|
||||
|
||||
void (*dbus_disconnected) (void *data);
|
||||
};
|
||||
|
||||
struct sm_media_session {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue