2013-01-26 18:52:36 +00:00
|
|
|
|
2013-04-03 13:54:42 +00:00
|
|
|
#include <switch.h>
|
2013-01-26 18:52:36 +00:00
|
|
|
#include <sofia-sip/sdp.h>
|
|
|
|
|
|
|
|
sdp_connection_t *sdp_media_connections(sdp_media_t const *m)
|
|
|
|
{
|
|
|
|
if (m) {
|
|
|
|
if (m->m_connections)
|
|
|
|
return m->m_connections;
|
|
|
|
if (m->m_session)
|
|
|
|
return m->m_session->sdp_connection;
|
|
|
|
}
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
#include <su_alloc.c>
|
|
|
|
#include <su_errno.c>
|
|
|
|
#include <su_string.c>
|
|
|
|
#include <sdp_parse.c>
|
2013-04-04 02:55:27 +00:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
#define longlong __int64
|
|
|
|
#include <strtoull.c>
|
2013-04-05 14:06:42 +00:00
|
|
|
#endif
|