From 3e509472954a32018ef418db661f86044ad3c1dd Mon Sep 17 00:00:00 2001 From: Mike Jerris Date: Mon, 9 Jul 2018 13:12:56 -0400 Subject: [PATCH] FS-11222: [core] NACK for multiple packets sends wrong packet after the first one --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 2081daba52..16aba214c5 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -6486,7 +6486,7 @@ static switch_status_t process_rtcp_report(switch_rtp_t *rtp_session, rtcp_msg_t for (i = 0; i < ntohs(extp->header.length) - 2; i++) { - handle_nack(rtp_session, *nack); + handle_nack(rtp_session, nack[i]); } //switch_core_media_gen_key_frame(rtp_session->session);