diff options
author | matteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-02-20 06:00:14 +0000 |
---|---|---|
committer | matteo <matteo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-02-20 06:00:14 +0000 |
commit | 4e8c9944cb2345492550457f79ea79905dadca79 (patch) | |
tree | 52c2c6abd07e82e95cb7b09c31804c0e9bd1f5f6 /rtp.c | |
parent | 28be2d6a7cb7f8915b0f346a9a2c02dd2fc5bf1f (diff) |
Thu Feb 20 07:00:00 CET 2003
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@619 f38db490-d61c-443f-a65b-d21fe96a405b
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 |