mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
committed by
Benjamin Keith Ford
parent
38dae51b78
commit
f5d5083ea7
@@ -292,10 +292,14 @@ struct ast_rtp_payload_type {
|
||||
#define AST_RTP_RTCP_SR 200
|
||||
/*! Receiver Report */
|
||||
#define AST_RTP_RTCP_RR 201
|
||||
/*! Transport Layer Feed Back (From RFC4585 also RFC5104) */
|
||||
#define AST_RTP_RTCP_RTPFB 205
|
||||
/*! Payload Specific Feed Back (From RFC4585 also RFC5104) */
|
||||
#define AST_RTP_RTCP_PSFB 206
|
||||
#define AST_RTP_RTCP_PSFB 206
|
||||
|
||||
/* Common RTCP feedback message types */
|
||||
/*! Generic NACK (From RFC4585 also RFC5104) */
|
||||
#define AST_RTP_RTCP_FMT_NACK 1
|
||||
/*! Picture loss indication (From RFC4585) */
|
||||
#define AST_RTP_RTCP_FMT_PLI 1
|
||||
/*! Full INTRA-frame Request (From RFC5104) */
|
||||
|
Reference in New Issue
Block a user