aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@gnumonks.org>2012-10-15 18:28:32 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2012-10-15 23:09:36 +0200
commite472f44dd3ed4d8a371c00f1cb10cc3fea59ff08 (patch)
tree4d02759bf829143a02023d329491b802ba5c9212
parent4925acf2975f39a7ba3d6451f77eceae4b7fb203 (diff)
osmux: RTP timestamp has to be bumped in 160
Between two RTP messages that were extracted from a batch, the timestamp difference should be 160. Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
-rw-r--r--src/osmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmux.c b/src/osmux.c
index 56ecd03..a428b64 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -93,7 +93,7 @@ osmux_rebuild_rtp(struct osmux_out_handle *h,
/* bump last RTP sequence number and timestamp that has been used */
h->rtp_seq[osmuxh->circuit_id]++;
- h->rtp_timestamp[osmuxh->circuit_id]++;
+ h->rtp_timestamp[osmuxh->circuit_id] += 160;
osmo_rtp_snprintf(buf, sizeof(buf), out_msg);
LOGP(DLMIB, LOGL_DEBUG, "%s\n", buf);