提交 f135a1fa authored 作者: Anthony Minessale's avatar Anthony Minessale

fix z code

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14753 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 3fd795ae
......@@ -1456,6 +1456,11 @@ SWITCH_DECLARE(void) switch_rtp_destroy(switch_rtp_t **rtp_session)
#ifdef ENABLE_ZRTP
/* ZRTP */
if (zrtp_on) {
if (rtp_session->zrtp_ctx != NULL) {
zrtp_stream_stop(rtp_session->zrtp_ctx);
}
if (switch_test_flag((*rtp_session), SWITCH_ZRTP_FLAG_SECURE_SEND)) {
switch_clear_flag((*rtp_session), SWITCH_ZRTP_FLAG_SECURE_SEND);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论