Ignore:
Timestamp:
Oct 23, 2011 6:59:48 AM (12 years ago)
Author:
nanang
Message:

Re #1300: Implemented symmetric payload type in generating SDP answer in SDP negotiator.
This should work for all codecs, audio & video. Can be disabled at compile-time
using PJMEDIA_SDP_NEG_REWRITE_ANSWER_PT macro setting.

File:
1 edited

Legend:

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

    r3835 r3837  
    621621 
    622622/** 
     623 * This specifies if the SDP negotiator should rewrite answer payload 
     624 * type numbers to use the same payload type numbers as the remote offer 
     625 * for all matched codecs. 
     626 * 
     627 * Default is 1 (yes) 
     628 */ 
     629#ifndef PJMEDIA_SDP_NEG_ANSWER_SYMMETRIC_PT 
     630#   define PJMEDIA_SDP_NEG_ANSWER_SYMMETRIC_PT          1 
     631#endif 
     632 
     633 
     634/** 
    623635 * Support for sending and decoding RTCP port in SDP (RFC 3605). 
    624636 * Default is equal to PJMEDIA_ADVERTISE_RTCP setting. 
Note: See TracChangeset for help on using the changeset viewer.