- 23 Jul, 2014 5 commits
-
-
Olivier Crête authored
Send thing one line at a time, so no explicit \n Also make it possible to set a log handler explicitly
-
Youness Alaoui authored
The TURN CreatePermission is a list of multiple permissions but the timer is created and overwrites the old one, so some of them don't get triggered at the right time. This patch was suggested by Livio Madaro. We create a timer for the minimal amount of time, and trigger the retransmissions on the permissions that timed out, then reschedule for the next retransmissions.
-
Livio Madaro authored
-
Youness Alaoui authored
When calling component_emit_io_callback, the agent mutex will be unlocked before the callback is called, this can cause another thread to remove the stream and thus destroying the component. We must verify that the source was not destroyed after calling component_emit_io_callback and avoid accessing the component in that case. Bug report by Stephan Thamm in the mailing list.
-
Youness Alaoui authored
-
- 16 Jul, 2014 1 commit
-
-
Philip Withnall authored
Rather than assuming it is not available on Windows.
-
- 12 Jul, 2014 3 commits
-
-
Olivier Crête authored
-
Youness Alaoui authored
-
Olivier Crête authored
Otherwise, the caller gets a callback from an unexpected source.
-
- 07 Jul, 2014 25 commits
-
-
Philip Withnall authored
-
Philip Withnall authored
-
Philip Withnall authored
The old GetIpAddrTable() function only returned IPv4 addresses. In order to support IPv6 addresses, we need to use GetAdapterAddresses(), which is available from Windows XP or Server 2003 onwards.
-
Philip Withnall authored
Rather than using inet_pton(), which doesn’t support IPv6 link-local scope IDs, use getaddrinfo(). This is supported on all platforms (POSIX.1-2001, and Windows winsock).
-
Philip Withnall authored
inet_ntop() drops IPv6 link-local scope IDs on the floor, which means libnice doesn’t generate any IPv6 candidates for link-local connections, meaning that it will theoretically fail to negotiate a connection on an IPv6-only network where the two peers are local. Fix that by using getnameinfo() to convert sockaddrs to strings, which preserves the scope ID. There are no portability concerns — getnameinfo() is POSIX.1-2001, and isn’t used on Windows (although it is supported, surprisingly).
-
Olivier Crête authored
Otherwise we're never woken up when it's again possible to send
-
Olivier Crête authored
-
Olivier Crête authored
-
Olivier Crête authored
-
Philip Withnall authored
If (agent->main_context == NULL) the sockets are created with a NULL main context, which they then try to ref. That does not end well.
-
Philip Withnall authored
We know the agent is a GObject — there is no need to check it at runtime. This also improves Tartan’s static analysis of signal connections.
-
Philip Withnall authored
Spotted by Tartan.
-
Philip Withnall authored
-
Philip Withnall authored
-
Philip Withnall authored
-
Philip Withnall authored
-
Philip Withnall authored
-
Philip Withnall authored
This removes it from the introspected bindings. It is unintrospectable because it specifies a callback (@func) which persists after the nice_agent_attach_recv() call returns. This is only supported by gobject-introspection if a full closure with GDestroyNotify callback for the user is passed in too.
-
Philip Withnall authored
-
Philip Withnall authored
These make the GSLists usable from introspection.
-
Philip Withnall authored
-
Philip Withnall authored
This bumps our autoconf requirement to 2.62 (from 2.59c) and disables automake portability warnings. It does not introduce a hard dependency on gobject-introspection; but if available, it requires version 1.30.0. Support can be enabled with --enable-introspection, and is required to make distcheck. The generated introspection file has not been checked thoroughly, and may expose internal symbols. A lot of new annotations are needed to make many of the symbols usable.
-
Philip Withnall authored
It might be useful for dependent packages to check whether libnice was compiled with UPnP support, so expose that as a variable in the pkg-config file, set to ‘true’ if supported, and the empty string otherwise.
-
Philip Withnall authored
The requirements in the pkg-config file were outdated and incomplete. It makes a lot more sense to automatically substitute them in from the checks in configure.ac.
-
Olivier Crête authored
-
- 27 Jun, 2014 1 commit
-
-
Olivier Crête authored
We use macros from 1.12 anyway.
-
- 17 May, 2014 5 commits
-
-
Olivier Crête authored
We want ICE-TCP to not have reliable behavior unless the agent is reliable otherwise it will confuse existing VoIP applications.
-
Olivier Crête authored
PseudoTCP is only used if both the pseudotcp socket exists and the underlying transport is unreliable.
-
Olivier Crête authored
discovery: Make it less likely that a locally assigned remote foundation clashes with the remote one.
-
Olivier Crête authored
The RFC says that "for reflexive and relayed candidates, the STUN or TURN servers used to obtain them have the same IP address."
-
Olivier Crête authored
-