Commit efda1ac4 authored by Youness Alaoui's avatar Youness Alaoui

Make it clear that the stun-server property takes an IP address and not a port

parent 5c8d77c4
...@@ -283,8 +283,8 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -283,8 +283,8 @@ nice_agent_class_init (NiceAgentClass *klass)
g_object_class_install_property (gobject_class, PROP_STUN_SERVER, g_object_class_install_property (gobject_class, PROP_STUN_SERVER,
g_param_spec_string ( g_param_spec_string (
"stun-server", "stun-server",
"STUN server", "STUN server IP address",
"The STUN server used to obtain server-reflexive candidates", "The IP address (not the hostname) of the STUN server to use",
NULL, NULL,
G_PARAM_READWRITE)); G_PARAM_READWRITE));
...@@ -292,7 +292,7 @@ nice_agent_class_init (NiceAgentClass *klass) ...@@ -292,7 +292,7 @@ nice_agent_class_init (NiceAgentClass *klass)
g_param_spec_uint ( g_param_spec_uint (
"stun-server-port", "stun-server-port",
"STUN server port", "STUN server port",
"The STUN server used to obtain server-reflexive candidates", "Port of the STUN server used to gather server-reflexive candidates",
1, 65536, 1, 65536,
1, /* not a construct property, ignored */ 1, /* not a construct property, ignored */
G_PARAM_READWRITE)); G_PARAM_READWRITE));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment