diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-09-08 15:18:43 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-09-08 15:21:39 +0200 |
commit | 16c0ab92c1cf822c76a19ff44dc5b2470138d709 (patch) | |
tree | b0ad46e7183ee77374ee4b5699ddc6af63572471 /src/common/rsl.c | |
parent | 111b8e673b4282f4c9a01b59628c4298c251ccc0 (diff) |
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
Diffstat (limited to 'src/common/rsl.c')
-rw-r--r-- | src/common/rsl.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |