same issue

This commit is contained in:
Anthony Minessale committed 2013-03-31 21:27:24 -05:00
1 parent 53457e05bf
commit 4711fd2b92
1 file changed
+5 -3
+5 -3
View File
@@ -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;
}
}
}