From cdb0f86fac81b206ee8e260d2b344e36cb3ac0aa Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Thu, 7 Feb 2013 09:35:34 +0000 Subject: Close #1602: configurable local port range for ICE transport. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4343 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsua-lib/pjsua.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pjsip/include/pjsua-lib/pjsua.h') diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 5114189d..e3d9dd31 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -2152,6 +2152,15 @@ typedef struct pjsua_transport_config */ unsigned port; + /** + * Specify the port range for socket binding, relative to the start + * port number specified in \a port. Note that this setting is only + * applicable when the start port number is non zero. + * + * Default value is zero. + */ + unsigned port_range; + /** * Optional address to advertise as the address of this transport. * Application can specify any address or hostname for this field, -- cgit v1.2.3