Changeset 602 for pjproject/trunk/pjsip/include/pjsip/sip_config.h
- Timestamp:
- Jul 11, 2006 9:53:27 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_config.h
r583 r602 147 147 #endif 148 148 149 150 /** 151 * This macro controls maximum numbers of ioqueue events to be processed 152 * in a single pjsip_endpt_handle_events() poll. When PJSIP detects that 153 * there are probably more events available from the network and total 154 * events so far is less than this value, PJSIP will call pj_ioqueue_poll() 155 * again to get more events. 156 * 157 * Value 1 works best for ioqueue with select() back-end, while for IOCP it is 158 * probably best to set this value equal to PJSIP_MAX_TIMED_OUT_ENTRIES 159 * since IOCP only processes one event at a time. 160 * 161 * Default: 1 162 */ 163 #ifndef PJSIP_MAX_NET_EVENTS 164 # define PJSIP_MAX_NET_EVENTS 1 165 #endif 166 167 168 /** 169 * Max entries to process in timer heap per poll. 170 * 171 * Default: 10 172 */ 173 #ifndef PJSIP_MAX_TIMED_OUT_ENTRIES 174 # define PJSIP_MAX_TIMED_OUT_ENTRIES 10 175 #endif 176 177 178 /** 179 * Idle timeout interval to be applied to transports with no usage 180 * before the transport is destroyed. Value is in seconds. 181 * 182 * Default: 60 183 */ 184 #ifndef PJSIP_TRANSPORT_IDLE_TIME 185 # define PJSIP_TRANSPORT_IDLE_TIME 60 186 #endif 187 188 189 /** 190 * Maximum number of usages for a transport before a new transport is 191 * created. This only applies for ephemeral transports such as TCP. 192 * 193 * Currently this is not used. 194 * 195 * Default: -1 196 */ 197 #ifndef PJSIP_MAX_TRANSPORT_USAGE 198 # define PJSIP_MAX_TRANSPORT_USAGE ((unsigned)-1) 199 #endif 149 200 150 201 … … 164 215 #define PJSIP_POOL_LEN_UA 4000 165 216 #define PJSIP_POOL_INC_UA 4000 166 #define PJSIP_TRANSPORT_CLOSE_TIMEOUT 30167 #define PJSIP_MAX_TRANSPORT_USAGE 16168 217 169 218 #define PJSIP_MAX_FORWARDS_VALUE 70 … … 193 242 #define PJSIP_POOL_INC_DIALOG 512 194 243 195 /* Transport idle timeout before it's destroyed. */196 #define PJSIP_TRANSPORT_IDLE_TIME 30197 198 /* Max entries to process in timer heap per poll. */199 #define PJSIP_MAX_TIMED_OUT_ENTRIES 10200 201 244 /* Maximum header types. */ 202 245 #define PJSIP_MAX_HEADER_TYPES 64
Note: See TracChangeset
for help on using the changeset viewer.