Browse Source

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

Closes #1987

Change-Id: I906a8b1538d75356ea1b0f43d9b0ff5b37dbda52
rfuchs/1989
John Burke 4 months ago
committed by Richard Fuchs
parent
commit
afce798034
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      daemon/media_socket.c

+ 4
- 0
daemon/media_socket.c View File

@ -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