Changeset 6102 for pjproject


Ignore:
Timestamp:
Nov 7, 2019 3:22:42 AM (5 years ago)
Author:
nanang
Message:

Misc (re #2210): Fixed macro setting PJSIP_MAX_TIMER_COUNT issues: not overridable and bad docs (thanks to Christian Ambach for the report and the patch).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsip/sip_config.h

    r6055 r6102  
    895895 
    896896 
    897 /* Endpoint. */ 
    898 #define PJSIP_MAX_TIMER_COUNT           (2*pjsip_cfg()->tsx.max_count + \ 
     897/** 
     898 * Specify the maximum number of timer entries initially allocated by 
     899 * endpoint. If the application registers more entries during runtime, 
     900 * then the timer will automatically resize. 
     901 * 
     902 * Default: (2*pjsip_cfg()->tsx.max_count) + (2*PJSIP_MAX_DIALOG_COUNT) 
     903 */ 
     904#ifndef PJSIP_MAX_TIMER_COUNT 
     905#   define PJSIP_MAX_TIMER_COUNT        (2*pjsip_cfg()->tsx.max_count + \ 
    899906                                         2*PJSIP_MAX_DIALOG_COUNT) 
     907#endif 
    900908 
    901909/** 
Note: See TracChangeset for help on using the changeset viewer.