提交 b51f0287 authored 作者: Michael Jerris's avatar Michael Jerris

Wed Nov 12 12:00:29 CST 2008 Pekka Pessi <first.last@nokia.com>

  * sdp_parse.c: use lower-case udptl 
  
  According to T.38 V3.4 some implementations are case-sensitive when checking
  transport protocol name. Thanks to Timo Bruhn for the hint.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10816 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 38d7209c
Tue Dec 16 13:54:44 CST 2008
Tue Dec 16 13:58:31 CST 2008
......@@ -1374,8 +1374,9 @@ 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 (strcasecmp(s, "RTP/SAVP") == 0)
m->m_proto = sdp_proto_srtp, m->m_proto_name = "RTP/SAVP";
else if (strcasecmp(s, "UDPTL") == 0)
m->m_proto = sdp_proto_udptl, m->m_proto_name = "UDPTL";
else if (strcasecmp(s, "udptl") == 0)
/* Lower case - be compatible with people living by T.38 examples */
m->m_proto = sdp_proto_udptl, m->m_proto_name = "udptl";
else if (strcasecmp(s, "UDP") == 0)
m->m_proto = sdp_proto_udp, m->m_proto_name = "UDP";
else if (strcasecmp(s, "TCP") == 0)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论