Browse Source

TT#72000 confirm immediately on a perfect endpoint match

Change-Id: I7f0663a5b7ed6a224d385b3b1d07bc5cf13a185b
changes/55/35955/1
Richard Fuchs 6 years ago
parent
commit
dc1daa90ab
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      daemon/media_socket.c

+ 4
- 1
daemon/media_socket.c View File

@ -1601,8 +1601,11 @@ static int media_packet_address_check(struct packet_handler_ctx *phc)
// now grab the best matched endpoint
for (idx = 0; idx < 4; idx++) {
use_endpoint_confirm = &phc->mp.stream->detected_endpoints[idx];
if (use_endpoint_confirm->address.family)
if (use_endpoint_confirm->address.family) {
if (idx == 0) // doesn't get any better than this
goto confirm_now;
break;
}
}
}


Loading…
Cancel
Save