regression parsing rtp-timeout-sec from the profile

This commit is contained in:
Anthony Minessale 2013-05-07 08:50:02 -05:00
parent ff05e5f2c7
commit 01a748869d
1 changed files with 3 additions and 0 deletions

View File

@ -163,6 +163,9 @@ void sofia_glue_attach_private(switch_core_session_t *session, sofia_profile_t *
tech_pvt->mparams.rtcp_video_interval_msec = profile->rtcp_video_interval_msec; tech_pvt->mparams.rtcp_video_interval_msec = profile->rtcp_video_interval_msec;
tech_pvt->mparams.sdp_username = profile->sdp_username; tech_pvt->mparams.sdp_username = profile->sdp_username;
tech_pvt->mparams.cng_pt = tech_pvt->cng_pt; tech_pvt->mparams.cng_pt = tech_pvt->cng_pt;
tech_pvt->mparams.rtp_timeout_sec = profile->rtp_timeout_sec;
tech_pvt->mparams.rtp_hold_timeout_sec = profile->rtp_hold_timeout_sec;
switch_media_handle_create(&tech_pvt->media_handle, session, &tech_pvt->mparams); switch_media_handle_create(&tech_pvt->media_handle, session, &tech_pvt->mparams);
switch_media_handle_set_media_flags(tech_pvt->media_handle, tech_pvt->profile->media_flags); switch_media_handle_set_media_flags(tech_pvt->media_handle, tech_pvt->profile->media_flags);