From 16c0ab92c1cf822c76a19ff44dc5b2470138d709 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 8 Sep 2011 15:18:43 +0200 Subject: add commands to configure RTP jitter buffer there's one global setting for the BTS default value, plus an interactive command to change the buffer of an active lchan on the fly --- src/common/rsl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/rsl.c') diff --git a/src/common/rsl.c b/src/common/rsl.c index 1ccd2080..db39f812 100644 --- a/src/common/rsl.c +++ b/src/common/rsl.c @@ -1273,6 +1273,9 @@ static int rsl_rx_ipac_XXcx(struct msgb *msg) return tx_ipac_XXcx_nack(lchan, RSL_ERR_RES_UNAVAIL, inc_ip_port, dch->c.msg_type); } + osmo_rtp_socket_set_param(lchan->abis_ip.rtp_socket, + OSMO_RTP_P_JITBUF, + btsb->rtp_jitter_buf_ms); lchan->abis_ip.rtp_socket->priv = lchan; lchan->abis_ip.rtp_socket->rx_cb = &bts_model_rtp_rx_cb; -- cgit v1.2.3