]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Add support for receiving and handling NACK requests.
authorBen Ford <bford@digium.com>
Mon, 9 Apr 2018 22:09:03 +0000 (17:09 -0500)
committerBenjamin Keith Ford <bford@digium.com>
Mon, 16 Apr 2018 23:21:18 +0000 (17:21 -0600)
commitf5d5083ea763d36af987229e1c6542e6af5b9638
tree213c765aa9385c56c8e76556f02412798a9aa8f1
parent38dae51b788cd7f9f69c88573d6ce769c80f07f0
res_rtp_asterisk: Add support for receiving and handling NACK requests.

Adds the ability to receive and handle incoming NACK requests if
retransmissions are enabled. If retransmissions are enabled, a data
buffer is allocated that stores packets being sent. If a NACK request
is received, the packet requested for retransmission is sent if it is
still in the buffer. In the same request, if any of the following 16
packets are marked as not received, those will be sent as well if
available, as outlined in RFC4585.

Also changes RTCP RR and SR to use media source SSRC instead of packet
source SSRC when determining which instance to use for RTCP reports.

For more information, refer to the wiki page:
https://wiki.asterisk.org/wiki/display/AST/WebRTC+User+Experience+Improvements

ASTERISK-27806 #close

Change-Id: I7f7f124af3b9d5d2fd9cffc6ba8cb48a6fff06ec
include/asterisk/rtp_engine.h
res/res_pjsip_sdp_rtp.c
res/res_rtp_asterisk.c