diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-09-07 11:55:08 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-09-07 11:55:08 +0200 |
commit | 5355ead9d99262b756bbe736f8feb3e189264ca8 (patch) | |
tree | 47e5780132f55a983fbfc9fe532e796396ecdd0a /src/common/rsl.c | |
parent | 42f80bc7afcbad2b2a6c44ccf224265812fca3ba (diff) |
use osmo_ortp in POLLING mode instead of select loop integration
This solves a lot of the problems we've been seeing in the context
of large jitter (uRTP) or classic RTP with SID frames
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r-- | src/common/rsl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/rsl.c b/src/common/rsl.c index 3dbfda9c..1ccd2080 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -1264,7 +1264,8 @@ static int rsl_rx_ipac_XXcx(struct msgb *msg) } /* FIXME: select default value depending on speech_mode */ //if (!payload_type) - lchan->abis_ip.rtp_socket = osmo_rtp_socket_create(lchan->ts->trx); + lchan->abis_ip.rtp_socket = osmo_rtp_socket_create(lchan->ts->trx, + OSMO_RTP_F_POLL); if (!lchan->abis_ip.rtp_socket) { LOGP(DRSL, LOGL_ERROR, "%s IPAC Failed to create RTP/RTCP sockets\n", |