提交 9ab210e6 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-8556 #resolve [Screen shares are not recoverable so do not try]

上级 ae05a19e
......@@ -1234,6 +1234,12 @@ static void detach_calls(jsock_t *jsock)
switch_channel_hangup(tech_pvt->channel, SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER);
continue;
}
if (switch_channel_test_flag(tech_pvt->channel, CF_VIDEO_ONLY)) {
switch_channel_hangup(tech_pvt->channel, SWITCH_CAUSE_NORMAL_CLEARING);
continue;
}
switch_core_session_stop_media(tech_pvt->session);
tech_pvt->detach_time = switch_epoch_time_now(NULL);
globals.detached++;
......@@ -2549,6 +2555,10 @@ static int verto_recover_callback(switch_core_session_t *session)
const char *profile_name = NULL, *jsock_uuid_str = NULL;
switch_channel_t *channel = switch_core_session_get_channel(session);
if (switch_channel_test_flag(channel, CF_VIDEO_ONLY)) {
return 0;
}
PROTECT_INTERFACE(verto_endpoint_interface);
profile_name = switch_channel_get_variable(channel, "verto_profile_name");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论