dexter has uploaded this change for review. ( https://gerrit.osmocom.org/9388
Change subject: ortp: enable scheduled mode on rtp socket creation
......................................................................
ortp: enable scheduled mode on rtp socket creation
we use some functionalities of libortp that require to use rtp sessions
with the scheduled mode enabled. Since we do not enable the scheduled mode,
yet, we receive error messages in the log that complain about a non enabled
scheduled mode.
- Turn on scheduled mode using rtp_session_set_scheduling_mode() when
osmo_rtp_socket_create() is called.
Change-Id: I4b8f0349d5503bbe53745cc8903beb26f149f219
Closes: OS#3299
---
M src/trau/osmo_ortp.c
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/88/9388/1
diff --git a/src/trau/osmo_ortp.c b/src/trau/osmo_ortp.c
index 18a6123..90a4b16 100644
--- a/src/trau/osmo_ortp.c
+++ b/src/trau/osmo_ortp.c
@@ -350,6 +350,7 @@
rtp_session_set_data(rs->sess, rs);
rtp_session_set_profile(rs->sess, osmo_pt_profile);
rtp_session_set_jitter_compensation(rs->sess, 100);
+ rtp_session_set_scheduling_mode(rs->sess, TRUE);
rtp_session_signal_connect(rs->sess, "ssrc_changed",
(RtpCallback) ortp_sig_cb_ssrc,
@@ -371,7 +372,6 @@
rtp_session_set_seq_number(rs->sess, random());
rs->tx_timestamp = random();
-
return rs;
}
--
To view, visit https://gerrit.osmocom.org/9388
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b8f0349d5503bbe53745cc8903beb26f149f219
Gerrit-Change-Number: 9388
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>