From 6601bcf5b693f60bbb9310a251fe62b514c8525f Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 30 Sep 2008 01:57:02 +0000 Subject: [PATCH] totally random ssrc thing. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9754 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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 ba6108da81..807c3c7374 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -760,7 +760,7 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_create(switch_rtp_t **new_rtp_session 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;