diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-04 18:10:34 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-04 18:10:34 +0000 |
commit | 515454767074ab49bcec99b0d78dbadeef5d0539 (patch) | |
tree | a44c6cfc1bc69b11d280a29cbe77ed00032a1ad4 /main/rtp.c | |
parent | d69fe8861e281c80845406a82b42b44d2db63c9e (diff) |
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/branches/1.4@105676 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/rtp.c')
-rw-r--r-- | main/rtp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/rtp.c b/main/rtp.c index d75fe4852..cec29dc4a 100644 --- a/main/rtp.c +++ b/main/rtp.c @@ -1998,6 +1998,7 @@ int ast_rtp_settos(struct ast_rtp *rtp, int tos) void ast_rtp_new_source(struct ast_rtp *rtp) { rtp->set_marker_bit = 1; + rtp->ssrc = ast_random(); return; } |