aboutsummaryrefslogtreecommitdiffstats
path: root/main/rtp.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-04 18:11:38 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-04 18:11:38 +0000
commit320e8ef1d51738e33772bd7bf6bdd5926a37b6cd (patch)
treece044441f8967c890acc48bcf6e8ee7ea1fdb6e3 /main/rtp.c
parent151876ff4c5529acf6dcdc24e2273f3c02e1f299 (diff)
Merged revisions 105676 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r105676 | file | 2008-03-04 14:10:34 -0400 (Tue, 04 Mar 2008) | 2 lines In addition to setting the marker bit let's change our ssrc so they know for sure it is a different source. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@105677 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/rtp.c')
-rw-r--r--main/rtp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/rtp.c b/main/rtp.c
index 5eed32207..6e6004519 100644
--- a/main/rtp.c
+++ b/main/rtp.c
@@ -2329,6 +2329,7 @@ int ast_rtp_setqos(struct ast_rtp *rtp, int tos, int cos, char *desc)
void ast_rtp_new_source(struct ast_rtp *rtp)
{
rtp->set_marker_bit = 1;
+ rtp->ssrc = ast_random();
return;
}