From: Michael Jerris Date: Tue, 30 Sep 2008 01:57:02 +0000 (+0000) Subject: totally random ssrc thing. X-Git-Tag: v1.0.2~1033 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6601bcf5b693f60bbb9310a251fe62b514c8525f;p=thirdparty%2Ffreeswitch.git totally random ssrc thing. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9754 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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;