You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
jiangpeilong 55ff684d09 Fix TCP concurrent sending problem 3 weeks ago
agent agent: Only accept remote candidates with non-zero priority 2 months ago
docs meson: Generate nice-version.h in the right builddir 8 months ago
examples Remove autotools build 4 years ago
gst meson: Generate nice-version.h in the right builddir 8 months ago
nice meson: Generate nice-version.h in the right builddir 8 months ago
random Remove autotools build 4 years ago
socket Fix TCP concurrent sending problem 3 weeks ago
stun Change padding to be rfc8489 conform 7 months ago
subprojects subprojects: Get zlib from Qt mirror 3 years ago
tests meson: Add glib debug, assert and check options 2 months ago
.gitignore gitignore: Remove in-tree built files 4 years ago
.gitlab-ci.yml ci: Update Windows image to latest 1 year ago
.lcovrc Add configuration file for lcov 2 years ago
AUTHORS Fix for make distcheck to work 16 years ago
COPYING COPYING / README: Add SPDX-License-Identifier for added clarity 2 months ago
COPYING.LGPL move COPYING -> COPYING.LGPL 18 years ago
COPYING.MPL add COPYING.MPL 18 years ago
NEWS version 0.1.22 7 months ago
README COPYING / README: Add SPDX-License-Identifier for added clarity 2 months ago
TODO TODO: Update to match current state 10 years ago
meson.build meson: Add glib debug, assert and check options 2 months ago
meson_options.txt meson: Add glib debug, assert and check options 2 months ago

README

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

Copyright
---------

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

License
-------

See the file COPYING

SPDX-License-Identifier: LGPL-2.1-or-later OR  MPL-1.1

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
  https://tools.ietf.org/html/rfc5245 (old)
  https://tools.ietf.org/html/rfc8445
STUN
  https://tools.ietf.org/html/rfc3489 (old)
  https://tools.ietf.org/html/rfc5389
STUN Consent Freshness RFC
  https://tools.ietf.org/html/rfc7675
TURN 
  https://tools.ietf.org/html/rfc5766
RTP
  https://tools.ietf.org/html/rfc3550
ICE-TCP RFC
  https://tools.ietf.org/html/rfc6544
Trickle ICE
   https://tools.ietf.org/html/draft-ietf-ice-trickle-21
XMPP Jingle ICE transport
  https://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