This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Max gerrit-no-reply at lists.osmocom.org
Review at https://gerrit.osmocom.org/1436
Enable adaptive jitter compensation
Change-Id: I87d4d9fe990683adbb02b64cb39b78de533d8046
---
M src/trau/osmo_ortp.c
1 file changed, 4 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/36/1436/1
diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c
index 0f0b9e5..2a81aa9 100644
--- a/src/trau/osmo_ortp.c
+++ b/src/trau/osmo_ortp.c
@@ -288,17 +288,16 @@
int rc = 0;
switch (param) {
+ case OSMO_RTP_P_JIT_ADAP:
+ rtp_session_enable_adaptive_jitter_compensation(rs->sess,
+ (bool)val);
+ /* fall-through on-purpose - we have to set val anyway */
case OSMO_RTP_P_JITBUF:
rtp_session_enable_jitter_buffer(rs->sess,
(val) ? TRUE : FALSE);
if (val)
rtp_session_set_jitter_compensation(rs->sess, val);
break;
-#if 0
- case OSMO_RTP_P_JIT_ADAP:
- rc = jitter_control_enable_adaptive(rs->sess, val);
- break;
-#endif
default:
return -EINVAL;
}
@@ -332,7 +331,6 @@
rtp_session_set_data(rs->sess, rs);
rtp_session_set_profile(rs->sess, osmo_pt_profile);
rtp_session_set_jitter_compensation(rs->sess, 100);
- //jitter_control_enable_adaptive(rs->sess, 0);
rtp_session_signal_connect(rs->sess, "ssrc_changed",
(RtpCallback) ortp_sig_cb_ssrc,
--
To view, visit https://gerrit.osmocom.org/1436
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I87d4d9fe990683adbb02b64cb39b78de533d8046
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>