FreeSWITCH API Documentation  1.7.0
Functions
switch_sdp.c File Reference
#include <switch.h>
#include <sofia-sip/sdp.h>
#include <su_alloc.c>
#include <su_errno.c>
#include <su_string.c>
#include <sdp_parse.c>
+ Include dependency graph for switch_sdp.c:

Go to the source code of this file.

Functions

sdp_connection_t * sdp_media_connections (sdp_media_t const *m)
 

Function Documentation

sdp_connection_t* sdp_media_connections ( sdp_media_t const *  m)

Definition at line 5 of file switch_sdp.c.

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 }