30 Sep
2008
30 Sep
'08
1:57 a.m.
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;