Skip to content

Commit c54d002

Browse files
committed
New upstream version 0.1.18
1 parent 2c4e409 commit c54d002

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+903
-2487
lines changed

ChangeLog

Whitespace-only changes.

Makefile.am

Lines changed: 0 additions & 64 deletions
This file was deleted.

NEWS

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
libnice 0.1.18 (2020-10-20)
2+
===========================
3+
Remove the autotools build system, now only meson is available
4+
On Windows, use crypto library instead of CryptGenRandom() which is deprecated
5+
On Windows, use GetBestInterfaceEx() for UWP compatibility
6+
On Windows, fix the listing of interfaces to use the correct APIs
7+
On Windows, implement ignoring interfaces
8+
Accept receiving messages in multiple steps over TCP
9+
Accept duplicated ports as last option instead of spinning forever
10+
Use sendmmsg if possible to send multiple packets in one call
11+
Fail gathering if no port is available
12+
Hide the implementation of NiceCandidate, this hides some parts that were previously visible
13+
Enable TURN server connects where both TCP and UDP use the same port number
14+
Don't count rejected STUN messages as keepalive packets
15+
116
libnice 0.1.17 (2020-05-22)
217
===========================
318
Add API to retrieve the underlying BSD sockets

README

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,23 @@ Requirements
2020
pkg-config
2121
gnutls >= 2.12.0 or OpenSSL
2222
gupnp-igd >= 0.1.2 (optional)
23-
gstreamer-0.10 >= 0.10.0 (optional)
23+
gstreamer-0.10 (optional)
2424
gstreamer-1.0 (optional)
2525

2626
Build instructions
2727
------------------
2828

29-
To build, you need Python 3 and Meson. Then need to do:
30-
meson build && ninja -C build && sudo ninja -C build install
29+
libnice uses the Meson Build System: https://mesonbuild.com
30+
31+
To build on Linux and Mac, you only need to type the usual commands :
32+
33+
meson builddir
34+
ninja -C builddir
35+
ninja -C builddir test (or "meson test -C builddir" for more control)
36+
sudo ninja -C builddir install
37+
38+
See https://mesonbuild.com/Quick-guide.html#compiling-a-meson-project
39+
for more details and how to install the Meson build system.
3140

3241
Structure
3342
---------

agent/Makefile.am

Lines changed: 0 additions & 135 deletions
This file was deleted.

agent/address.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,13 +194,21 @@ NICEAPI_EXPORT void
194194
nice_address_set_from_sockaddr (NiceAddress *addr,
195195
const struct sockaddr *sa)
196196
{
197+
union {
198+
const struct sockaddr *sa;
199+
const struct sockaddr_in *in;
200+
const struct sockaddr_in6 *in6;
201+
} s;
202+
203+
s.sa = sa;
204+
197205
switch (sa->sa_family)
198206
{
199207
case AF_INET:
200-
memcpy(&addr->s.ip4, sa, sizeof (addr->s.ip4));
208+
memcpy(&addr->s.ip4, s.in, sizeof (addr->s.ip4));
201209
break;
202210
case AF_INET6:
203-
memcpy(&addr->s.ip6, sa, sizeof (addr->s.ip6));
211+
memcpy(&addr->s.ip6, s.in6, sizeof (addr->s.ip6));
204212
break;
205213
default:
206214
g_return_if_reached ();

0 commit comments

Comments
 (0)