Ignore:
Timestamp:
Mar 15, 2007 9:56:33 PM (17 years ago)
Author:
bennylp
Message:

Fixed ticket #178: Add flag in SDP negotiator to specify codec order preference (thanks Esbjörn Dominique)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/pjproject-0.5-stable/pjmedia/include/pjmedia/config.h

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