FS-9434 #resolve [SDP parser in sofia does not recognize UDP/TLS/RTP/SAVP]

This commit is contained in:
Anthony Minessale 2016-08-17 12:39:47 -05:00
parent ffb93653ab
commit a433c20b34
1 changed files with 2 additions and 0 deletions

View 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"))