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. Note: this patch is related to chane: I3a63c23f5ede47773b6a249a48ecebd5d3b45ace Unfortunately we observed a segfault with ortp version 0.25.0 (ARM), which seems to be related to an unintialized scheduling mode. We expect this patch to fix the problem. Change-Id: I4b8f0349d5503bbe53745cc8903beb26f149f219 Closes: OS#3299
This commit is contained in:
parent
c81b68f3e8
commit
5a236ce1d4
|
@ -351,6 +351,7 @@ struct osmo_rtp_socket *osmo_rtp_socket_create(void *talloc_ctx, unsigned int fl
|
|||
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,
|
||||
|
|
Loading…
Reference in New Issue