diff options
author | Jenkins2 <jenkins2@gerrit.asterisk.org> | 2018-04-09 10:27:26 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2018-04-09 10:27:26 -0500 |
commit | 070428415a5bba68b0ff2a6eb505f29b10aeab2d (patch) | |
tree | c496a9b549375c6085d4428d968115d6fca129fc | |
parent | 72a8e2106ea4f611a755da1a9c20f7bced300cce (diff) | |
parent | 8a602f18db745802a6aa426486b935e94a3e1ab9 (diff) |
Merge "res_rtp_asterisk: Queue video update on picture loss indication."
-rw-r--r-- | include/asterisk/rtp_engine.h | 2 | ||||
-rw-r--r-- | res/res_rtp_asterisk.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/asterisk/rtp_engine.h b/include/asterisk/rtp_engine.h index b552948d2..8f044ce17 100644 --- a/include/asterisk/rtp_engine.h +++ b/include/asterisk/rtp_engine.h @@ -296,6 +296,8 @@ struct ast_rtp_payload_type { #define AST_RTP_RTCP_PSFB 206 /* Common RTCP feedback message types */ +/*! Picture loss indication (From RFC4585) */ +#define AST_RTP_RTCP_FMT_PLI 1 /*! Full INTRA-frame Request (From RFC5104) */ #define AST_RTP_RTCP_FMT_FIR 4 /*! REMB Information (From draft-alvestrand-rmcat-remb-03) */ diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c index b010f6c51..c87e6fb77 100644 --- a/res/res_rtp_asterisk.c +++ b/res/res_rtp_asterisk.c @@ -5525,10 +5525,11 @@ static struct ast_frame *ast_rtcp_interpret(struct ast_rtp_instance *instance, c f = &transport_rtp->f; break; case RTCP_PT_FUR: - /* Handle RTCP FUR as FIR by setting the format to 4 */ + /* Handle RTCP FUR as FIR by setting the format to 4 */ rc = AST_RTP_RTCP_FMT_FIR; case RTCP_PT_PSFB: switch (rc) { + case AST_RTP_RTCP_FMT_PLI: case AST_RTP_RTCP_FMT_FIR: if (rtcp_debug_test_addr(addr)) { ast_verbose("Received an RTCP Fast Update Request\n"); |