]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7500: set ssrc from frame not rtp session so the ssrc changing coded can detect...
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 25 Nov 2014 22:47:36 +0000 (17:47 -0500)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:46:49 +0000 (12:46 -0500)
src/switch_rtp.c

index c5592722d639579532088703b16a2ee96cb600f9..3c7bd12deace75c93cb43ec32ba18562958e3864 100644 (file)
@@ -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 {