media-session: don't start pulse-bridge automatically

Don't start the pulse-bridge automatically because we don't
know what socket to listen on.
Also, listen by default on a safe socket, not used by pulseaudio.
This commit is contained in:
Wim Taymans 2020-11-12 16:50:24 +01:00
parent 024b9dc0ca
commit 10207456f0
2 changed files with 2 additions and 4 deletions

View file

@ -2080,8 +2080,7 @@ static void do_quit(void *data, int signal_number)
"alsa-seq," \ "alsa-seq," \
"v4l2," \ "v4l2," \
"suspend-node," \ "suspend-node," \
"policy-node," \ "policy-node"
"pulse-bridge"
#define EXTRA_ENABLED "" #define EXTRA_ENABLED ""
#define EXTRA_DISABLED "" #define EXTRA_DISABLED ""

View file

@ -4655,8 +4655,7 @@ struct pw_protocol_pulse *pw_protocol_pulse_new(struct pw_context *context,
if (props != NULL) if (props != NULL)
str = pw_properties_get(props, "server.address"); str = pw_properties_get(props, "server.address");
if (str == NULL) { if (str == NULL) {
str = free_str = spa_aprintf("%s,%s-%s", str = free_str = spa_aprintf("%s-%s",
PW_PROTOCOL_PULSE_DEFAULT_SERVER,
PW_PROTOCOL_PULSE_DEFAULT_SERVER, PW_PROTOCOL_PULSE_DEFAULT_SERVER,
get_server_name(context)); get_server_name(context));
} }