]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
In addition to setting the marker bit let's change our ssrc so they know for sure...
authorJoshua Colp <jcolp@digium.com>
Tue, 4 Mar 2008 18:10:34 +0000 (18:10 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 4 Mar 2008 18:10:34 +0000 (18:10 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@105676 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp.c

index d75fe4852e504bfeac43d016bcdf39d8cfbd1384..cec29dc4af592acaeade008df1be51509c8fbde1 100644 (file)
@@ -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;
 }