mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 03:18:30 +00:00
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:
@@ -1998,6 +1998,7 @@ int ast_rtp_settos(struct ast_rtp *rtp, int tos)
|
|||||||
void ast_rtp_new_source(struct ast_rtp *rtp)
|
void ast_rtp_new_source(struct ast_rtp *rtp)
|
||||||
{
|
{
|
||||||
rtp->set_marker_bit = 1;
|
rtp->set_marker_bit = 1;
|
||||||
|
rtp->ssrc = ast_random();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user