[mod_verto] new changes for verto video features

This commit is contained in:
Anthony Minessale 2019-03-04 18:39:20 +00:00 committed by Andrey Volk
parent dc4bef79ec
commit 2d5df53009
2 changed files with 2 additions and 0 deletions

View File

@ -1627,6 +1627,7 @@ typedef enum {
CF_STATE_REPEAT,
CF_WANT_DTLSv1_2,
CF_RFC7329_COMPAT,
CF_REATTACHED,
/* WARNING: DO NOT ADD ANY FLAGS BELOW THIS LINE */
/* IF YOU ADD NEW ONES CHECK IF THEY SHOULD PERSIST OR ZERO THEM IN switch_core_session.c switch_core_session_request_xml() */
CF_FLAG_MAX

View File

@ -1222,6 +1222,7 @@ static void tech_reattach(verto_pvt_t *tech_pvt, jsock_t *jsock)
add_variables(tech_pvt, params);
switch_channel_set_flag(tech_pvt->channel, CF_REATTACHED);
switch_channel_set_flag(tech_pvt->channel, CF_REINVITE);
switch_channel_set_flag(tech_pvt->channel, CF_RECOVERING);
switch_core_media_gen_local_sdp(tech_pvt->session, SDP_TYPE_REQUEST, NULL, 0, NULL, 0);