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:
Carlos Rafael Giani 2025-05-04 23:11:31 +02:00
parent c504851dca
commit 97996a6e20

View file

@ -935,6 +935,7 @@ static struct session *session_find(struct impl *impl, const struct sdp_info *in
struct session *sess;
spa_list_for_each(sess, &impl->sessions, link) {
if (info->hash == sess->info.hash &&
info->dst_port == sess->info.dst_port &&
spa_streq(info->origin, sess->info.origin))
return sess;
}