mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-21 02:05:38 +00:00
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.
This commit is contained in:
parent
eaaa0cd99e
commit
4bb85ef6c9
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue