[Asterisk-code-review] res rtp asterisk: Fix ssrc change for rtcp srtp (asterisk[14])
George Joseph
asteriskteam at digium.com
Wed Jun 14 08:58:57 CDT 2017
George Joseph has uploaded this change for review. ( 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(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/29/5829/1
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: newchange
Gerrit-Change-Id: Ic88f3aee7227b401c58745ac265ff92c19620095
Gerrit-Change-Number: 5829
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170614/dfc3f7aa/attachment.html>
More information about the asterisk-code-review
mailing list