remove these for now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13428 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
31e7df4937
commit
f8c6643cd4
|
@ -71,7 +71,6 @@ typedef srtp_hdr_t rtp_hdr_t;
|
||||||
static zrtp_global_t *zrtp_global;
|
static zrtp_global_t *zrtp_global;
|
||||||
static zrtp_zid_t zid = { "FreeSWITCH01" };
|
static zrtp_zid_t zid = { "FreeSWITCH01" };
|
||||||
static int zrtp_on = 0;
|
static int zrtp_on = 0;
|
||||||
#define SECRET_NEVER_EXPIRES 0xFFFFFFFF
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
@ -1049,8 +1048,6 @@ SWITCH_DECLARE(switch_status_t) switch_rtp_create(switch_rtp_t **new_rtp_session
|
||||||
zrtp_profile_defaults(rtp_session->zrtp_profile, zrtp_global);
|
zrtp_profile_defaults(rtp_session->zrtp_profile, zrtp_global);
|
||||||
|
|
||||||
rtp_session->zrtp_profile->allowclear = 1;
|
rtp_session->zrtp_profile->allowclear = 1;
|
||||||
rtp_session->zrtp_profile->cache_ttl = SECRET_NEVER_EXPIRES;
|
|
||||||
rtp_session->zrtp_profile->disclose_bit = 0;
|
|
||||||
|
|
||||||
if (zrtp_status_ok != zrtp_session_init(zrtp_global, rtp_session->zrtp_profile, zid, 1, &rtp_session->zrtp_session)) {
|
if (zrtp_status_ok != zrtp_session_init(zrtp_global, rtp_session->zrtp_profile, zid, 1, &rtp_session->zrtp_session)) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error! zRTP INIT Failed\n");
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error! zRTP INIT Failed\n");
|
||||||
|
|
Loading…
Reference in New Issue