Skip to content

Draft: [WIP] Resolve "PipeWire detection"

This is intented to solve #1835 based on the discussion in wireplumber!313.

A "session.services" property is added to store a list of available services (e.g. audio, video). If the property is found and is empty in pw_context_connect, the function blocks until it is signalled that services have become available.

The changes in antonio.ilersich/wireplumber:1835-session-detection populate the session services property and make the monitor scripts activate asynchronously. See wireplumber!441.

There is an issue right now where blocking in pw_context_connect seems to prevent the lua scripts from finishing their activation at all.

See also the corresponding issue on SDL: https://github.com/libsdl-org/SDL/issues/5304

Edited by Anthony Ilersich

Merge request reports