diff options
author | Matteo Brancaleoni <mbrancaleoni@espia.it> | 2003-02-20 06:00:14 +0000 |
---|---|---|
committer | Matteo Brancaleoni <mbrancaleoni@espia.it> | 2003-02-20 06:00:14 +0000 |
commit | 48130719cb745182878765357eed27d0a7256c98 (patch) | |
tree | 52c2c6abd07e82e95cb7b09c31804c0e9bd1f5f6 /rtp.c | |
parent | cf3b725fe906080f6abf3f2ff16eb565660062aa (diff) |
Thu Feb 20 07:00:00 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rwxr-xr-x | rtp.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -592,11 +592,12 @@ static int ast_rtp_raw_write(struct ast_rtp *rtp, struct ast_frame *f, int codec /* Re-calculate last TS */ rtp->lastts = ms * 8; - +#if 0 /* XXX Experiment -- Make timestamp always relative XXX */ /* If it's close to ou prediction, go for it */ if (abs(rtp->lastts - pred) < 640) +#endif rtp->lastts = pred; -#if 1 +#if 0 else printf("Difference is %d, ms is %d\n", abs(rtp->lastts - pred), ms); #endif |