MT#55283 early exit heuristic endpoint learning if endpoint matches SDP

Closes #1987

Change-Id: I906a8b1538d75356ea1b0f43d9b0ff5b37dbda52
rfuchs/1989
John Burke 5 months ago committed by Richard Fuchs
parent 4cfaf1a3cf
commit afce798034

@ -2563,6 +2563,10 @@ static bool media_packet_address_check(struct packet_handler_ctx *phc)
break;
}
// confirm endpoint, if matches address advertised in SDP
if (idx == 0)
goto confirm_now;
// finally, if there has been a better match and if strict-source is set,
// drop this packet
if (PS_ISSET(phc->mp.stream, STRICT_SOURCE) && matched_idx < idx) {

Loading…
Cancel
Save