How to find pulseaudio dbus server when using system instance
I am trying to use org.PulseAudio1 and org.PulseAudio.ServerLookup1 to find the unix path to the pulseaudio dbus server opened from the dbus-protocol-module.
I enable system mode via 'system-instance = yes'. I also support module-dbus protocol. I have verified that both are included.
The problem is that with "system-instance = yes" there is no org.PulseAudio1 exposed on the system dbus, apparently due to this code in daemon / main.c:
if (!conf->system_instance) {
if ((server_lookup = pa_dbusobj_server_lookup_new(c))) {
if (!(lookup_service_bus = register_dbus_name(c, DBUS_BUS_SESSION, "org.PulseAudio1")))
goto finish;
}
}
How can one find the unix path to the dbus server when running as a system instance?
+3
source to share
No one has answered this question yet
Check out similar questions: