]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
(closes issue #10355)
authorJoshua Colp <jcolp@digium.com>
Mon, 6 Aug 2007 15:27:24 +0000 (15:27 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 6 Aug 2007 15:27:24 +0000 (15:27 +0000)
Reported by: wdecarne
Now that we pass through RTP timestamp information we need to make the allowed timestamp skew considerably less. There are situations where a source may change and due to the timestamp difference the receiver will experience an audio gap since we did not indicate by setting the marker bit that the source changed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@78172 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/rtp.c

index 4e4bde623ab496507f835c75dc3eb61e7adcbcd7..4520e574a431d11b15cb6e8470294f29af54ad31 100644 (file)
@@ -57,7 +57,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 #include "asterisk/unaligned.h"
 #include "asterisk/utils.h"
 
-#define MAX_TIMESTAMP_SKEW     640
+#define MAX_TIMESTAMP_SKEW     20
 
 #define RTP_SEQ_MOD     (1<<16)        /*!< A sequence number can't be more than 16 bits */
 #define RTCP_DEFAULT_INTERVALMS   5000 /*!< Default milli-seconds between RTCP reports we send */