pulse-server: use the new in-follow passive mode

A passive port is not automatically activated anymore by an active peer
node, it now needs the "follow" mode to follow the state of the peer without
activating it.
This commit is contained in:
Wim Taymans 2026-05-25 18:19:12 +02:00
parent 63eb53c1cb
commit 22536600b8

View file

@ -2135,7 +2135,7 @@ static int do_create_record_stream(struct client *client, uint32_t command, uint
pw_properties_set(props,
PW_KEY_STREAM_CAPTURE_SINK, "true");
if (dont_inhibit_auto_suspend)
pw_properties_set(props, PW_KEY_NODE_PASSIVE, "true");
pw_properties_set(props, PW_KEY_NODE_PASSIVE, "in-follow");
stream->stream = pw_stream_new(client->core, name, spa_steal_ptr(props));
if (stream->stream == NULL)