/libnice

GLib based Interactive Connectivity Establishment (ICE) implementation (RFC 5245)

Primary LanguageCOtherNOASSERTION

Nice: GLib ICE library
======================

Copyright
---------

 (C) 2006-2020 Collabora Ltd.
 (C) 2006-2011 Nokia Corporation

License
-------

See the file COPYING.

Requirements
------------

 glib >= 2.54
 pkg-config
 gnutls >= 2.12.0 or OpenSSL
 gupnp-igd >= 0.1.2 (optional)
 gstreamer-0.10 (optional)
 gstreamer-1.0 (optional)

Build instructions
------------------

libnice uses the Meson Build System: https://mesonbuild.com

To build on Linux and Mac, you only need to type the usual commands :

  meson builddir
  ninja -C builddir
  ninja -C builddir test (or "meson test -C builddir" for more control)
  sudo ninja -C builddir install

See https://mesonbuild.com/Quick-guide.html#compiling-a-meson-project
for more details and how to install the Meson build system.

Structure
---------

 agent/   - ICE agent
 docs/    - Design and API documentation
 gst/     - Gstreamer elements
 nice/    - libnice library
 random/  - random number generation
 socket/  - Socket abstraction layer
 stun/    - STUN implementation
 tests/   - Unit tests

Relevant standards
------------------

These standards are relevant to nice's current implementation.

ICE
  http://tools.ietf.org/html/rfc5245 (old)
  http://tools.ietf.org/html/rfc8445
STUN
  http://tools.ietf.org/html/rfc3489 (old)
  http://tools.ietf.org/html/rfc5389
TURN 
  http://tools.ietf.org/html/rfc5766
RTP
  http://tools.ietf.org/html/rfc3550
ICE-TCP RFC
  http://tools.ietf.org/html/rfc6544
Trickle ICE
   https://tools.ietf.org/html/draft-ietf-ice-trickle-21
XMPP Jingle ICE transport
  http://www.xmpp.org/extensions/xep-0176.html

In future, nice may additionally support the following standards.

NAT-PMP
  http://files.dns-sd.org/draft-cheshire-nat-pmp.txt