]> git.ipfire.org Git - thirdparty/asterisk.git/commit
RTP/ICE: Send on first valid pair.
authorBen Ford <bford@digium.com>
Thu, 23 Jan 2020 19:17:06 +0000 (13:17 -0600)
committerBen Ford <bford@digium.com>
Tue, 18 Feb 2020 15:50:32 +0000 (09:50 -0600)
commit411d3a2f75bc42614f986e9c1c171e258f44730f
tree22ef3bad05d6a8a0e2c0409ef2b4d3f837349fe9
parent4c3721afa8fae96c609bf7b6fca7e32d8393fc1e
RTP/ICE: Send on first valid pair.

When handling ICE negotiations, it's possible that there can be a delay
between STUN binding requests which in turn will cause a delay in ICE
completion, preventing media from flowing. It should be possible to send
media when there is at least one valid pair, preventing this scenario
from occurring.

A change was added to PJPROJECT that adds an optional callback
(on_valid_pair) that will be called when the first valid pair is found
during ICE negotiation. Asterisk uses this to start the DTLS handshake,
allowing media to flow. It will only be called once, either on the first
valid pair, or when ICE negotiation is complete.

ASTERISK-28716

Change-Id: Ia7b68c34f06d2a1d91c5ed51627b66fd0363d867
configure
configure.ac
include/asterisk/autoconfig.h.in
res/res_rtp_asterisk.c
third-party/pjproject/configure.m4
third-party/pjproject/patches/0040-ICE-Add-callback-for-finding-valid-pair.patch [new file with mode: 0644]