summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-04-24 14:58:01 (GMT)
committerPhilip Withnall <philip.withnall@collabora.co.uk>2014-04-25 07:00:12 (GMT)
commitf5ecdf790199139c257ff6755b772ffa422013ec (patch)
tree866941b00ab9cc382eb996e204032c18b534ab5a
parenteb9d67d7d801b2e7108fde7da822cffb906f95cf (diff)
downloadlibnice-f5ecdf790199139c257ff6755b772ffa422013ec.tar.gz
libnice-f5ecdf790199139c257ff6755b772ffa422013ec.tar.xz
agent: Document units for NiceAgent::upnp-timeout property
It’s in milliseconds.
-rw-r--r--agent/agent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/agent.c b/agent/agent.c
index 5fef092..cd6e4ea 100644
--- a/agent/agent.c
+++ b/agent/agent.c
@@ -79,7 +79,7 @@
#define MAX_BUFFER_SIZE ((1 << 16) - 1) /* 65535 */
#define DEFAULT_STUN_PORT 3478
-#define DEFAULT_UPNP_TIMEOUT 200
+#define DEFAULT_UPNP_TIMEOUT 200 /* milliseconds */
#define MAX_TCP_MTU 1400 /* Use 1400 because of VPNs and we assume IEE 802.3 */
@@ -550,8 +550,8 @@ nice_agent_class_init (NiceAgentClass *klass)
/**
* NiceAgent:upnp-timeout:
*
- * The maximum amount of time to wait for UPnP discovery to finish before
- * signaling the #NiceAgent::candidate-gathering-done signal
+ * The maximum amount of time (in milliseconds) to wait for UPnP discovery to
+ * finish before signaling the #NiceAgent::candidate-gathering-done signal
*
* Since: 0.0.7
*/