mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
module-rtp-sap: Take RTP dest port into account when matching sessions
This is important if several sessions use the same multicast IP address.
This commit is contained in:
parent
c504851dca
commit
97996a6e20
1 changed files with 1 additions and 0 deletions
|
|
@ -935,6 +935,7 @@ static struct session *session_find(struct impl *impl, const struct sdp_info *in
|
||||||
struct session *sess;
|
struct session *sess;
|
||||||
spa_list_for_each(sess, &impl->sessions, link) {
|
spa_list_for_each(sess, &impl->sessions, link) {
|
||||||
if (info->hash == sess->info.hash &&
|
if (info->hash == sess->info.hash &&
|
||||||
|
info->dst_port == sess->info.dst_port &&
|
||||||
spa_streq(info->origin, sess->info.origin))
|
spa_streq(info->origin, sess->info.origin))
|
||||||
return sess;
|
return sess;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue