[asterisk-commits] res rtp asterisk: Fix ssrc change for rtcp srtp (asterisk[14])
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jun 14 16:00:24 CDT 2017
Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/5829 )
Change subject: res_rtp_asterisk: Fix ssrc change for rtcp srtp
......................................................................
res_rtp_asterisk: Fix ssrc change for rtcp srtp
It looks like there was a copy/paste error in ast_rtp_change_source
where if there was a rtcp srtp instance, instead of updating its
ssrc we were updating the srtp instance ssrc twice.
ASTERISK-27022 #close
Reported-by: Michael Walton
Change-Id: Ic88f3aee7227b401c58745ac265ff92c19620095
---
M res/res_rtp_asterisk.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Mark Michelson: Looks good to me, approved
Jenkins2: Approved for Submit
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index 1006c22..f6317f5 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -3443,7 +3443,7 @@
ast_debug(3, "Changing ssrc for SRTP from %u to %u\n", rtp->ssrc, ssrc);
res_srtp->change_source(srtp, rtp->ssrc, ssrc);
if (rtcp_srtp != srtp) {
- res_srtp->change_source(srtp, rtp->ssrc, ssrc);
+ res_srtp->change_source(rtcp_srtp, rtp->ssrc, ssrc);
}
}
--
To view, visit https://gerrit.asterisk.org/5829
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic88f3aee7227b401c58745ac265ff92c19620095
Gerrit-Change-Number: 5829
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Mark Michelson <mmichelson at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20170614/25c03180/attachment-0001.html>
More information about the asterisk-commits
mailing list