osmux: Fix delay between RTP packets

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

Change-Id: I36dc69f9caf591dd1b578bc914a2ce426c7f2813
This commit is contained in:
Pau Espin 2017-04-24 10:09:26 +02:00
parent 2c83b9a0ad
commit a18caad5fd
1 changed files with 3 additions and 2 deletions

View File

@ -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;