diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-04-24 10:09:26 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-04-28 08:15:52 +0000 |
commit | a18caad5fd6131b1d8474154e7fefd9c462485bd (patch) | |
tree | 5da7bfeb462b5436094b30a773c14fe8a38803ac | |
parent | 2c83b9a0adbb3c364409f2917b7a449c9966fee6 (diff) |
osmux: Fix delay between RTP packets
AMR frame contains 160 samples at 8000Hz -> 20 ms long
Change-Id: I36dc69f9caf591dd1b578bc914a2ce426c7f2813
-rw-r--r-- | src/osmux.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/osmux.c b/src/osmux.c index d12a39a..91054f1 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; |