From b747687bb2b929da72fcdb908b6fc26c5d4d597b Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 25 Nov 2014 17:47:36 -0500 Subject: [PATCH] FS-7500: set ssrc from frame not rtp session so the ssrc changing coded can detect a shift --- 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 c5592722d6..3c7bd12dea 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -7065,7 +7065,7 @@ SWITCH_DECLARE(int) switch_rtp_write_frame(switch_rtp_t *rtp_session, switch_fra send_msg->header.version = 2; send_msg->header.m = frame->m; send_msg->header.ts = htonl(frame->timestamp); - send_msg->header.ssrc = htonl(rtp_session->ssrc); + send_msg->header.ssrc = htonl(frame->ssrc); } } else {