Ignore:
Timestamp:
May 29, 2009 1:04:03 PM (15 years ago)
Author:
bennylp
Message:

Integration of Sipit24 branch, many tickets involved:

  • #793: AMR encoder should regard 'mode-set' param specified by remote decoder.
  • #831: Automatically switch to TCP transport when sending large request
  • #832: Support for outbound proxy setting without using Route header
  • #849: Modify conference audio switch behavior in connecting ports.
  • #850: Remove 'Require=replaces' param in 'Refer-To' header (in call transfer with replaces).
  • #851: Support for regular nomination in ICE
  • #852: --ip-addr support for IPv6 for media transport in pjsua
  • #854: Adding SOFTWARE attribute in all outgoing requests may cause compatibility problem with older STUN server (thanks Alexei Kuznetsov for the report)
  • #855: Bug in digit map frequencies for DTMF digits (thanks FCCH for the report)
  • #856: Put back the ICE candidate priority values according to the default values in the draft-mmusic-ice
  • #857: Support for ICE keep-alive with Binding indication
  • #858: Do not authenticate STUN 438 response
  • #859: AMR-WB format param in the SDP is not negotiated correctly.
  • #867: Return error instead of asserting when PJSUA-LIB fails to open log file
File:
1 edited

Legend:

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

    r2642 r2724  
    260260#define PJ_ICE_MAX_COMP             (2<<PJ_ICE_COMP_BITS) 
    261261 
     262/** 
     263 * Use the priority value according to the ice-draft. 
     264 */ 
     265#ifndef PJNATH_ICE_PRIO_STD 
     266#   define PJNATH_ICE_PRIO_STD                      1 
     267#endif 
     268 
    262269 
    263270/** 
     
    265272 */ 
    266273#ifndef PJ_ICE_CAND_TYPE_PREF_BITS 
    267 #   define PJ_ICE_CAND_TYPE_PREF_BITS               2 
     274#   if PJNATH_ICE_PRIO_STD 
     275#       define PJ_ICE_CAND_TYPE_PREF_BITS           8 
     276#   else 
     277#       define PJ_ICE_CAND_TYPE_PREF_BITS           2 
     278#   endif 
    268279#endif 
    269280 
     
    325336 
    326337/** 
     338 * For a controlled agent, specify how long it wants to wait (in milliseconds) 
     339 * for the controlling agent to complete sending connectivity check with 
     340 * nominated flag set to true for all components after the controlled agent 
     341 * has found that all connectivity checks in its checklist have been completed 
     342 * and there is at least one successful (but not nominated) check for every 
     343 * component. 
     344 * 
     345 * When selecting the value, bear in mind that the connectivity check from 
     346 * controlling agent may be delayed because of delay in receiving SDP answer 
     347 * from the controlled agent. 
     348 * 
     349 * Application may set this value to -1 to disable this timer. 
     350 * 
     351 * Default: 10000 (milliseconds) 
     352 */ 
     353#ifndef ICE_CONTROLLED_AGENT_WAIT_NOMINATION_TIMEOUT 
     354#   define ICE_CONTROLLED_AGENT_WAIT_NOMINATION_TIMEOUT 10000 
     355#endif 
     356 
     357 
     358/** 
     359 * For controlling agent if it uses regular nomination, specify the delay to 
     360 * perform nominated check (connectivity check with USE-CANDIDATE attribute) 
     361 * after all components have a valid pair. 
     362 * 
     363 * Default: 4*PJ_STUN_RTO_VALUE (milliseconds) 
     364 */ 
     365#ifndef PJ_ICE_NOMINATED_CHECK_DELAY 
     366#   define PJ_ICE_NOMINATED_CHECK_DELAY             (4*PJ_STUN_RTO_VALUE) 
     367#endif 
     368 
     369 
     370/** 
    327371 * Minimum interval value to be used for sending STUN keep-alive on the ICE 
    328  * stream transport, in seconds. This minimum interval, plus a random value 
    329  * which maximum is PJ_ICE_ST_KEEP_ALIVE_MAX_RAND, specify the actual interval 
     372 * session, in seconds. This minimum interval, plus a random value 
     373 * which maximum is PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND, specify the actual interval 
    330374 * of the STUN keep-alive. 
    331375 * 
    332  * Default: 20 seconds 
    333  * 
    334  * @see PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 
    335  */ 
    336 #ifndef PJ_ICE_ST_KEEP_ALIVE_MIN 
    337 #   define PJ_ICE_ST_KEEP_ALIVE_MIN                 20 
    338 #endif 
    339  
     376 * Default: 15 seconds 
     377 * 
     378 * @see PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND 
     379 */ 
     380#ifndef PJ_ICE_SESS_KEEP_ALIVE_MIN 
     381#   define PJ_ICE_SESS_KEEP_ALIVE_MIN               20 
     382#endif 
     383 
     384/* Warn about deprecated macro */ 
     385#ifdef PJ_ICE_ST_KEEP_ALIVE_MIN 
     386#   error PJ_ICE_ST_KEEP_ALIVE_MIN is deprecated 
     387#endif 
    340388 
    341389/** 
    342390 * To prevent STUN keep-alives to be sent simultaneously, application should 
    343  * add random interval to minimum interval (PJ_ICE_ST_KEEP_ALIVE_MIN). This 
     391 * add random interval to minimum interval (PJ_ICE_SESS_KEEP_ALIVE_MIN). This 
    344392 * setting specifies the maximum random value to be added to the minimum 
    345393 * interval, in seconds. 
     
    347395 * Default: 5 seconds 
    348396 * 
    349  * @see PJ_ICE_ST_KEEP_ALIVE_MIN 
    350  */ 
    351 #ifndef PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 
    352 #   define PJ_ICE_ST_KEEP_ALIVE_MAX_RAND            5 
     397 * @see PJ_ICE_SESS_KEEP_ALIVE_MIN 
     398 */ 
     399#ifndef PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND 
     400#   define PJ_ICE_SESS_KEEP_ALIVE_MAX_RAND          5 
     401#endif 
     402 
     403/* Warn about deprecated macro */ 
     404#ifdef PJ_ICE_ST_KEEP_ALIVE_MAX_RAND 
     405#   error PJ_ICE_ST_KEEP_ALIVE_MAX_RAND is deprecated 
    353406#endif 
    354407 
Note: See TracChangeset for help on using the changeset viewer.