Changeset 2754


Ignore:
Timestamp:
Jun 5, 2009 4:10:36 PM (15 years ago)
Author:
bennylp
Message:

More ticket #869: Added PJSIP_PUBLISHC_DELAY_BEFORE_REFRESH configuration

Location:
pjproject/trunk/pjsip
Files:
2 edited

Legend:

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

    r2730 r2754  
    809809 
    810810/** 
     811 * Specify the time (in seconds) to send PUBLISH to refresh client  
     812 * publication before the actual interval expires. 
     813 * 
     814 * Default: 5 seconds 
     815 */ 
     816#ifndef PJSIP_PUBLISHC_DELAY_BEFORE_REFRESH 
     817#   define PJSIP_PUBLISHC_DELAY_BEFORE_REFRESH  5 
     818#endif 
     819 
     820 
     821/** 
    811822 * Specify the time (in seconds) to wait for the final NOTIFY from the 
    812823 * server after client has sent un-SUBSCRIBE request. 
  • pjproject/trunk/pjsip/src/pjsip-simple/publishc.c

    r2661 r2754  
    3838 
    3939#define REFRESH_TIMER           1 
    40 #define DELAY_BEFORE_REFRESH    5 
     40#define DELAY_BEFORE_REFRESH    PJSIP_PUBLISHC_DELAY_BEFORE_REFRESH 
    4141#define THIS_FILE               "publishc.c" 
    4242 
Note: See TracChangeset for help on using the changeset viewer.