~ubuntu-branches/ubuntu/saucy/sflphone/saucy

« back to all changes in this revision

Viewing changes to sflphone-common/libs/pjproject/pjnath/include/pjnath/config.h

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2010-12-24 16:33:55 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20101224163355-tkvvikqxbrbav6up
Tags: 0.9.11-1
* New upstream release
* Add new build dependencies on libwebkit-dev and libyaml-dev

* Bump Standards-Version up to 3.9.1
* Bump debhelper compatibility to 8
* Patch another typo in the upstream code (lintian notice)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* $Id: config.h 2966 2009-10-25 09:02:07Z bennylp $ */
2
 
/* 
 
2
/*
3
3
 * Copyright (C) 2008-2009 Teluu Inc. (http://www.teluu.com)
4
4
 * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
5
5
 *
15
15
 *
16
16
 * You should have received a copy of the GNU General Public License
17
17
 * along with this program; if not, write to the Free Software
18
 
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
 
18
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
19
 *
20
20
 *  Additional permission under GNU GPL version 3 section 7:
21
21
 *
77
77
 
78
78
/**
79
79
 * The default initial STUN round-trip time estimation (the RTO value
80
 
 * in RFC 3489-bis), in miliseconds. 
81
 
 * This value is used to control the STUN request 
82
 
 * retransmit time. The initial value of retransmission interval 
 
80
 * in RFC 3489-bis), in miliseconds.
 
81
 * This value is used to control the STUN request
 
82
 * retransmit time. The initial value of retransmission interval
83
83
 * would be set to this value, and will be doubled after each
84
84
 * retransmission.
85
85
 */
90
90
 
91
91
/**
92
92
 * The STUN transaction timeout value, in miliseconds.
93
 
 * After the last retransmission is sent and if no response is received 
 
93
 * After the last retransmission is sent and if no response is received
94
94
 * after this time, the STUN transaction will be considered to have failed.
95
95
 *
96
96
 * The default value is 16x RTO (as per RFC 3489-bis).
213
213
 
214
214
 
215
215
/**
216
 
 * Number of seconds to refresh the permission/channel binding before the 
217
 
 * permission/channel binding expires. This value should be greater than 
 
216
 * Number of seconds to refresh the permission/channel binding before the
 
217
 * permission/channel binding expires. This value should be greater than
218
218
 * PJ_TURN_PERM_TIMEOUT setting.
219
219
 */
220
220
#ifndef PJ_TURN_REFRESH_SEC_BEFORE
223
223
 
224
224
 
225
225
/**
226
 
 * The TURN session timer heart beat interval. When this timer occurs, the 
 
226
 * The TURN session timer heart beat interval. When this timer occurs, the
227
227
 * TURN session will scan all the permissions/channel bindings to see which
228
228
 * need to be refreshed.
229
229
 */
293
293
/**
294
294
 * The number of bits to represent ICE candidate's local preference. The
295
295
 * local preference is used to specify preference among candidates with
296
 
 * the same type, and ICE draft suggests 65535 as the default local 
297
 
 * preference, which means we need 16 bits to represent the value. But 
 
296
 * the same type, and ICE draft suggests 65535 as the default local
 
297
 * preference, which means we need 16 bits to represent the value. But
298
298
 * since we don't have the facility to specify local preference, we'll
299
 
 * just disable this feature and let the preference sorted by the 
 
299
 * just disable this feature and let the preference sorted by the
300
300
 * type only.
301
301
 *
302
302
 * Default: 0
327
327
 
328
328
 
329
329
/**
330
 
 * According to ICE Section 8.2. Updating States, if an In-Progress pair in 
331
 
 * the check list is for the same component as a nominated pair, the agent 
 
330
 * According to ICE Section 8.2. Updating States, if an In-Progress pair in
 
331
 * the check list is for the same component as a nominated pair, the agent
332
332
 * SHOULD cease retransmissions for its check if its pair priority is lower
333
333
 * than the lowest priority nominated pair for that component.
334
334
 *
335
335
 * If a higher priority check is In Progress, this rule would cause that
336
336
 * check to be performed even when it most likely will fail.
337
337
 *
338
 
 * The macro here controls if ICE session should cancel all In Progress 
 
338
 * The macro here controls if ICE session should cancel all In Progress
339
339
 * checks for the same component regardless of its priority.
340
340
 *
341
341
 * Default: 1 (yes, cancel all)