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: https://origsvn.digium.com/svn/asterisk/branches/1.4@105676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2008-03-04 18:10:34 +00:00
parent 36bb1f9d46
commit be005c60d6

View 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;
}