[PATCH] libosmo-netif[master]: osmux: Fix delay between RTP packets

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Apr 25 11:18:55 UTC 2017


Hello daniel, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/2397

to look at the new patch set (#2).

osmux: Fix delay between RTP packets

AMR frame contains 160 samples at 8000Hz -> 20 ms long

Change-Id: I36dc69f9caf591dd1b578bc914a2ce426c7f2813
---
M src/osmux.c
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/97/2397/2

diff --git a/src/osmux.c b/src/osmux.c
index 5655269..8c7f6e1 100644
--- a/src/osmux.c
+++ b/src/osmux.c
@@ -42,8 +42,9 @@
 #define DEBUG_MSG		0
 #endif
 
-/* delta time between two RTP messages */
-#define DELTA_RTP_MSG		16000
+/* delta time between two RTP messages (in microseconds) */
+#define DELTA_RTP_MSG		20000
+/* delta time between two RTP messages (in samples, 8kHz) */
 #define DELTA_RTP_TIMESTAMP	160
 
 static void *osmux_ctx;

-- 
To view, visit https://gerrit.osmocom.org/2397
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I36dc69f9caf591dd1b578bc914a2ce426c7f2813
Gerrit-PatchSet: 2
Gerrit-Project: libosmo-netif
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <dwillmann at sysmocom.de>



More information about the gerrit-log mailing list