freeswitch/src/switch_sdp.c

31 lines
505 B
C
Raw Normal View History

2013-01-26 12:52:36 -06:00
2013-04-03 08:54:42 -05:00
#include <switch.h>
2013-01-26 12:52:36 -06:00
#include <sofia-sip/sdp.h>
sdp_connection_t *sdp_media_connections(sdp_media_t const *m)
{
2016-03-17 08:55:00 -05:00
if (m) {
if (m->m_connections)
return m->m_connections;
if (m->m_session)
return m->m_session->sdp_connection;
}
return NULL;
2013-01-26 12:52:36 -06:00
}
#ifdef _MSC_VER
#define longlong __int64
#include <strtoull.c>
2013-04-05 09:06:42 -05:00
#endif
/* For Emacs:
* Local Variables:
* mode:c
* indent-tabs-mode:t
* tab-width:4
* c-basic-offset:4
* End:
* For VIM:
* vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet:
*/