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 <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: daniel <[email protected]>

Reply via email to