| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The underlying GSocket implementation on Windows returns an error when
the user-provided buffer isn't large enough to fit the whole datagram
received on a message-oriented socket.
When this occurs, in order to preserve identical behavior of udp-bsd
NiceSocket across platforms, we have to mute the error and set the
received message length to the size of the provided NiceInputMessage.
Any excess portion of the message gets discarded.
Fixed udp-bsd test on Windows.
GLib 2.48 is required in order to use G_IO_ERROR_MESSAGE_TOO_LARGE.
|
|
|
|
| |
getifaddrs() may only be available if the target API is >= 24
|
| |
|
| |
|
|
|
|
| |
This makes GLib usage annoying as it makes GSourceFunc casts invalid.
|
|
|
|
|
|
| |
Creates useless warnings when other libraries change.
https://phabricator.freedesktop.org/T7770
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch implements Regular Nomation as described in RFC5245
8.1.1.1. The controlling agent lets valid pairs accumulate, and
decides which pair to recheck with the use-candidate attribute set.
priv_mark_pair_nominated() follows 7.2.1.5, to update the nominated
pair when acting as a STUN server, and
priv_map_reply_to_conn_check_request() implements 7.1.3.2.4 to
update the nominated pair when acting as a STUN client. A new
property is also added to the agent to control the nomination
mode, which can be regular of aggressive, with default value
set to aggressive.
Two new flags are introduced in the CandidateCheckPair structure:
- use_candidate_on_next_check indicates the STUN client to add the
use-candidate attribute when the pair will be checked. At this
time, the nominated flag has not been set on this pair yet.
- mark_nominated_on_response_arrival indicates the STUN server
to nominate the pair when its succesfull response to a
previous triggered check will arrive (7.2.1.5, item #2)
Differential Revision: https://phabricator.freedesktop.org/D811
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some interfaces, like the one managed by libvirtd to provide a network
bridge to locally hosted virtual machines, can be completely ignored
when gathering ICE candidates. The motivation for adding this
possibility is that, ignoring them doesn't remove capabilities, and
improves the overall speed of the connection check method, by reducing
the number of pairs to be tested. This patch adds the possibility to
define such interfaces in the configuration script.
Differential Revision: https://phabricator.freedesktop.org/D948
|
| |
|
| |
|
|
|
|
|
| |
We don't have or call noreturn functions in practice and it makes
the stun test build fail on clang.
|
|
|
|
|
|
| |
clang on recent macOS seems to only emit a warning on unknown flags
which makes this test fail and then when using Werror, it makes the
compiler test fail too.
|
|
|
|
|
|
|
| |
GLib already uses it, instead of adding another dep.
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
Differential Revision: https://phabricator.freedesktop.org/D1705
|
|
|
|
|
| |
They're not present int he 1.5.0 release, so require
the newer one.
|
| |
|
|
|
|
|
|
| |
This will shortly be used to implement secure random number generation.
Differential Revision: https://phabricator.freedesktop.org/D1609
|
|
|
|
|
|
|
|
|
| |
As udp-bsd.ccode is using G_IO_ERROR_CONNECTION_CLOSED glib 2.44
is required.
Change-Id: I1bb63f2484c513c58eeec312ba0835164604c40c
Reviewed-by: Philip Withnall <philip@tecnocode.co.uk>
https://phabricator.freedesktop.org/T3492
|
|
|
|
|
|
|
| |
This is needed for G_IO_ERROR_BROKEN_PIPE, which is used in the I/O
stream code.
Reported by Emanuele Bizzarri <emabiz76@gmail.com> on the mailing list.
|
|
|
|
|
|
|
|
|
|
| |
Error introduced in 20ea22e0a11a9bdfe4d8125b68083249b694338a, resulting in a
configure/build error when building without gstreamer:
configure: error: conditional "HAVE_GST_CHECK" was never defined.
Usually this means the macro was only invoked conditionally.
https://bugs.freedesktop.org/show_bug.cgi?id=90801
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=90010
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=73042
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=85962
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=89609
|
| |
|
| |
|
|
|
|
|
| |
Automake now warns that it will be the only behavior
in the future. So quell the warning by adding it.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Templated mode has been deprecated for a long time and will be removed
in future versions of gtk-doc. Switch to no-tmpl mode for faster
documentation builds and future-proofness.
This does not bump our gtk-doc dependency, since gtk-doc 1.9 supported
no-tmpl mode.
|
|
|
|
|
|
| |
Note that this only works for 1.0 plugin.
https://bugs.freedesktop.org/show_bug.cgi?id=85929
|
| |
|
| |
|
|
|
|
| |
Clean up the UPnP mappings of each stream when closing it
|
|
|
|
|
|
|
| |
This way all the debug can be controlled from one place.
Also disable -Wsuggest-attribute=format with -Werror because gcc 4.8.3
erroneously suggested it.
|
|
|
|
| |
Rather than assuming it is not available on Windows.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
We use macros from 1.12 anyway.
|
| |
|
| |
|