[Freeswitch-svn] [commit] r9754 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Mon Sep 29 21:57:03 EDT 2008


Author: mikej
Date: Mon Sep 29 21:57:02 2008
New Revision: 9754

Modified:
   freeswitch/trunk/src/switch_rtp.c

Log:
totally random ssrc thing.

Modified: freeswitch/trunk/src/switch_rtp.c
==============================================================================
--- freeswitch/trunk/src/switch_rtp.c	(original)
+++ freeswitch/trunk/src/switch_rtp.c	Mon Sep 29 21:57:02 2008
@@ -760,7 +760,7 @@
 												  switch_rtp_flag_t flags, char *timer_name, const char **err, switch_memory_pool_t *pool)
 {
 	switch_rtp_t *rtp_session = NULL;
-	uint32_t ssrc = rand() & 0xffff;
+	uint32_t ssrc = rand() & 0xffffffff;
 
 	*new_rtp_session = NULL;
 



More information about the Freeswitch-svn mailing list