Changeset 4225 for pjproject/trunk


Ignore:
Timestamp:
Aug 9, 2012 9:16:31 AM (12 years ago)
Author:
nanang
Message:

Re #1562: Added compile-time setting to enable/disable "c=" line in SDP session level. The default is disabled.

Location:
pjproject/trunk/pjsip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r4224 r4225  
    53035303 
    53045304/** 
     5305 * Enable/disable "c=" line in SDP session level. Set to zero to disable it. 
     5306 */ 
     5307#ifndef PJSUA_SDP_SESS_HAS_CONN 
     5308#   define PJSUA_SDP_SESS_HAS_CONN      0 
     5309#endif 
     5310 
     5311 
     5312/** 
    53055313 * This structure describes media configuration, which will be specified 
    53065314 * when calling #pjsua_init(). Application MUST initialize this structure 
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r4224 r4225  
    19411941        } 
    19421942 
     1943#if PJSUA_SDP_SESS_HAS_CONN 
    19431944        /* Copy c= line of the first media to session level, 
    19441945         * if there's none. 
     
    19471948            sdp->conn = pjmedia_sdp_conn_clone(pool, m->conn); 
    19481949        } 
     1950#endif 
    19491951 
    19501952         
Note: See TracChangeset for help on using the changeset viewer.