From 4bb85ef6c96112df570db86d5f68ac463c7b33e2 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 3 Jul 2023 12:28:45 +0200 Subject: [PATCH] module-rtp: don't use sap port as src port We bind to the src addr (the interface addr) and so we need a new unused port. --- src/modules/module-rtp-sap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/module-rtp-sap.c b/src/modules/module-rtp-sap.c index 4b9018f2d..e7b8915db 100644 --- a/src/modules/module-rtp-sap.c +++ b/src/modules/module-rtp-sap.c @@ -1489,7 +1489,7 @@ int pipewire__module_init(struct pw_impl_module *module, const char *args) } } } - if ((res = parse_address(str, port, &impl->src_addr, &impl->src_len)) < 0) { + if ((res = parse_address(str, 0, &impl->src_addr, &impl->src_len)) < 0) { pw_log_error("invalid source.ip %s: %s", str, spa_strerror(res)); goto out; }