mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-31 15:44:21 +00:00
retool RTP API and downgrade previous constructor to back-compat convience function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1069 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
0af60e1b2f
commit
a203f3138e
5 files changed
+128
-62
No files matched your search
@@ -1278,7 +1278,6 @@ static ldl_status handle_signalling(ldl_handle_t *handle, ldl_session_t *dlsessi
|
||||
}
|
||||
switch_set_flag(tech_pvt, TFLAG_RTP_READY);
|
||||
switch_rtp_activate_ice(tech_pvt->rtp_session, tech_pvt->remote_user, tech_pvt->local_user);
|
||||
switch_rtp_start(tech_pvt->rtp_session);
|
||||
}
|
||||
|
||||
return LDL_STATUS_SUCCESS;
|
||||
|
||||
@@ -480,7 +480,6 @@ static void activate_rtp(struct private_object *tech_pvt)
|
||||
|
||||
if (tech_pvt->rtp_session) {
|
||||
tech_pvt->ssrc = switch_rtp_get_ssrc(tech_pvt->rtp_session);
|
||||
switch_rtp_start(tech_pvt->rtp_session);
|
||||
switch_set_flag(tech_pvt, TFLAG_RTP);
|
||||
} else {
|
||||
switch_channel *channel = switch_core_session_get_channel(tech_pvt->session);
|
||||
|
||||
Reference in new issue
Block a user