Ignore:
Timestamp:
Jun 26, 2007 8:59:49 AM (17 years ago)
Author:
bennylp
Message:

Ticket #342: added configuration to control whether SDP rtpmap should be included for static payload types (default still yes)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/config.h

    r1177 r1391  
    352352 
    353353/** 
     354 * This macro controls whether pjmedia should include SDP rtpmap  
     355 * attribute for static payload types. SDP rtpmap for static 
     356 * payload types are optional, although they are normally included 
     357 * for interoperability reason. 
     358 * 
     359 * Note that there is also a run-time variable to turn this setting 
     360 * on or off, defined in endpoint.c. To access this variable, use 
     361 * the following construct 
     362 * 
     363 \verbatim 
     364    extern pj_bool_t pjmedia_add_rtpmap_for_static_pt; 
     365 
     366    // Do not include rtpmap for static payload types (<96) 
     367    pjmedia_add_rtpmap_for_static_pt = PJ_FALSE; 
     368 \endverbatim 
     369 * 
     370 * Default: 1 (yes) 
     371 */ 
     372#ifndef PJMEDIA_ADD_RTPMAP_FOR_STATIC_PT 
     373#   define PJMEDIA_ADD_RTPMAP_FOR_STATIC_PT     1 
     374#endif 
     375 
     376 
     377/** 
    354378 * This macro declares the payload type for telephone-event 
    355379 * that is advertised by PJMEDIA for outgoing SDP. If this macro 
Note: See TracChangeset for help on using the changeset viewer.