]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9434 #resolve [SDP parser in sofia does not recognize UDP/TLS/RTP/SAVP]
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 17 Aug 2016 17:39:47 +0000 (12:39 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 17 Aug 2016 17:39:56 +0000 (12:39 -0500)
libs/sofia-sip/libsofia-sip-ua/sdp/sdp_parse.c

index 4a79bf3b3640a170fafa02f4f67678c8af03fda7..887e4e818ae51e76150cddbd788cecf7711441f1 100644 (file)
@@ -1397,6 +1397,8 @@ void sdp_media_transport(sdp_media_t *m, char const *s)
     m->m_proto = sdp_proto_rtp, m->m_proto_name = "RTP/AVP";
   else if (su_casematch(s, "RTP/SAVP"))
     m->m_proto = sdp_proto_srtp, m->m_proto_name = "RTP/SAVP";
+  else if (su_casematch(s, "UDP/TLS/RTP/SAVP"))
+    m->m_proto = sdp_proto_srtp, m->m_proto_name = "RTP/SAVP";
   else if (su_casematch(s, "RTP/SAVPF"))
          m->m_proto = sdp_proto_extended_srtp, m->m_proto_name = "RTP/SAVPF";
   else if (su_casematch(s, "UDP/TLS/RTP/SAVPF"))