Ignore:
Timestamp:
Mar 15, 2007 10:05:39 PM (13 years ago)
Author:
bennylp
Message:

Fixed ticket #183: Add flag in SDP negotiator to specify codec order preference (thanks Esbjorn Dominique)

File:
1 edited

Legend:

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

    r978 r1072  
    281281 
    282282/** 
     283 * This specifies the behavior of the SDP negotiator when responding to an 
     284 * offer, whether it should rather use the codec preference as set by 
     285 * remote, or should it rather use the codec preference as specified by 
     286 * local endpoint. 
     287 * 
     288 * For example, suppose incoming call has codec order "8 0 3", while  
     289 * local codec order is "3 0 8". If remote codec order is preferable, 
     290 * the selected codec will be 8, while if local codec order is preferable, 
     291 * the selected codec will be 3. 
     292 * 
     293 * If set to non-zero, the negotiator will use the codec order as specified 
     294 * by remote in the offer. 
     295 * 
     296 * Note that this behavior can be changed during run-time by calling 
     297 * pjmedia_sdp_neg_set_prefer_remote_codec_order(). 
     298 * 
     299 * Default is 1 (to maintain backward compatibility) 
     300 */ 
     301#ifndef PJMEDIA_SDP_NEG_PREFER_REMOTE_CODEC_ORDER 
     302#   define PJMEDIA_SDP_NEG_PREFER_REMOTE_CODEC_ORDER    1 
     303#endif 
     304 
     305 
     306/** 
    283307 * Support for sending and decoding RTCP port in SDP (RFC 3605). 
    284308 * Default is yes. 
Note: See TracChangeset for help on using the changeset viewer.