[asterisk-commits] file: branch 1.4 r105676 - /branches/1.4/main/rtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 4 12:10:35 CST 2008


Author: file
Date: Tue Mar  4 12:10:34 2008
New Revision: 105676

URL: http://svn.digium.com/view/asterisk?view=rev&rev=105676
Log:
In addition to setting the marker bit let's change our ssrc so they know for sure it is a different source.

Modified:
    branches/1.4/main/rtp.c

Modified: branches/1.4/main/rtp.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/rtp.c?view=diff&rev=105676&r1=105675&r2=105676
==============================================================================
--- branches/1.4/main/rtp.c (original)
+++ branches/1.4/main/rtp.c Tue Mar  4 12:10:34 2008
@@ -1998,6 +1998,7 @@
 void ast_rtp_new_source(struct ast_rtp *rtp)
 {
 	rtp->set_marker_bit = 1;
+	rtp->ssrc = ast_random();
 	return;
 }
 




More information about the asterisk-commits mailing list