RTS API Documentation  1.10.11
Functions
switch_sdp.c File Reference
#include <switch.h>
#include <sofia-sip/sdp.h>
+ 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_media_connections()

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 }