From: Anthony Minessale Date: Tue, 5 Feb 2013 21:45:35 +0000 (-0600) Subject: same issue X-Git-Tag: v1.5.1~363 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4711fd2b920dae1a76066d6ad776917fb8a199a3;p=thirdparty%2Ffreeswitch.git same issue --- diff --git a/src/switch_core_media.c b/src/switch_core_media.c index 42d9f6d922..f9769d71cd 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -2678,9 +2678,11 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s for (map = m->m_rtpmaps; map; map = map->rm_next) { - for (attr = m->m_attributes; attr; attr = attr->a_next) { - if (!strcasecmp(attr->a_name, "fingerprint") && !zstr(attr->a_value)) { - got_video_crypto = 1; + if (switch_rtp_has_dtls()) { + for (attr = m->m_attributes; attr; attr = attr->a_next) { + if (!strcasecmp(attr->a_name, "fingerprint") && !zstr(attr->a_value)) { + got_video_crypto = 1; + } } }