RTS API Documentation  1.10.11
switch_sdp.c
Go to the documentation of this file.
1 
2 #include <switch.h>
3 #include <sofia-sip/sdp.h>
4 
5 sdp_connection_t *sdp_media_connections(sdp_media_t const *m)
6 {
7  if (m) {
8  if (m->m_connections)
9  return m->m_connections;
10  if (m->m_session)
11  return m->m_session->sdp_connection;
12  }
13  return NULL;
14 }
15 
16 #ifdef _MSC_VER
17 #define longlong __int64
18 #include <strtoull.c>
19 #endif
20 
21 /* For Emacs:
22  * Local Variables:
23  * mode:c
24  * indent-tabs-mode:t
25  * tab-width:4
26  * c-basic-offset:4
27  * End:
28  * For VIM:
29  * vim:set softtabstop=4 shiftwidth=4 tabstop=4 noet:
30  */
sdp_connection_t * sdp_media_connections(sdp_media_t const *m)
Definition: switch_sdp.c:5
Main Library Header.