[ac38e9dc] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libnice-download-http
|
---|
| 8 | "http://nice.freedesktop.org/releases/libnice-&libnice-version;.tar.gz">
|
---|
| 9 | <!ENTITY libnice-download-ftp " ">
|
---|
| 10 | <!ENTITY libnice-md5sum "3226faeaf48a9150ada00da2e2865959">
|
---|
| 11 | <!ENTITY libnice-size "892 KB">
|
---|
| 12 | <!ENTITY libnice-buildsize "26 MB">
|
---|
| 13 | <!ENTITY libnice-time "0.2 SBU">
|
---|
| 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="libnice" xreflabel="libnice-&libnice-version;">
|
---|
| 17 | <?dbhtml filename="libnice.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy: krejzi $</othername>
|
---|
| 21 | <date>$Date: 2014-10-26 19:36:54 +0100 (Sun, 26 Oct 2014) $</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>libnice-&libnice-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="libnice">
|
---|
| 27 | <primary sortas="a-libnice">libnice</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to libnice</title>
|
---|
| 32 |
|
---|
| 33 | <para>
|
---|
| 34 | The <application>libnice</application> package is an implementation of
|
---|
| 35 | the IETF's draft Interactive Connectivity Establishment standard (ICE). It
|
---|
| 36 | provides <application>GLib</application>-based library,
|
---|
| 37 | <application>libnice</application> and <application>GStreamer</application>,
|
---|
| 38 | elements.
|
---|
| 39 | </para>
|
---|
| 40 |
|
---|
| 41 | &lfs77_checked;
|
---|
| 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&libnice-download-http;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&libnice-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download MD5 sum: &libnice-md5sum;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Download size: &libnice-size;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated disk space required: &libnice-buildsize;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>
|
---|
| 72 | Estimated build time: &libnice-time;
|
---|
| 73 | </para>
|
---|
| 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect3">libnice Dependencies</bridgehead>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 80 | <para role="required">
|
---|
| 81 | <xref linkend="glib2"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
| 86 | <xref linkend="gst10-plugins-base"/>
|
---|
| 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
| 91 | <xref linkend="gst-plugins-base"/>,
|
---|
| 92 | <xref linkend="gtk-doc"/>, and
|
---|
| 93 | <ulink url="https://wiki.gnome.org/action/show/Projects/GUPnP">GuPNP-IGD</ulink>
|
---|
| 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <para condition="html" role="usernotes">User Notes:
|
---|
| 97 | <ulink url="&blfs-wiki;/libnice"/>
|
---|
| 98 | </para>
|
---|
| 99 | </sect2>
|
---|
| 100 |
|
---|
| 101 | <sect2 role="installation">
|
---|
| 102 | <title>Installation of libnice</title>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | Install <application>libnice</application> by running the following
|
---|
| 106 | commands:
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 110 | --disable-static \
|
---|
| 111 | --without-gstreamer-0.10 &&
|
---|
| 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
| 114 | <para>
|
---|
| 115 | To test the results, issue: <command>make check</command>.
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <para>
|
---|
| 119 | Now, as the <systemitem class="username">root</systemitem>
|
---|
| 120 | user:
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="commands">
|
---|
| 127 | <title>Command Explanations</title>
|
---|
| 128 |
|
---|
| 129 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 130 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | <option>--without-gstreamer-0.10</option>: This switch disables
|
---|
| 134 | building of the <application>GStreamer</application> 0.10 plugins
|
---|
| 135 | which are not necessary for anything in BLFS. Remove it if you
|
---|
| 136 | have installed <xref linkend="gst-plugins-base"/>.
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
| 139 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 140 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Libraries</segtitle>
|
---|
| 150 | <segtitle>Installed Directories</segtitle>
|
---|
| 151 |
|
---|
| 152 | <seglistitem>
|
---|
| 153 | <seg>
|
---|
| 154 | sdp-example, simple-example, stunbdc,
|
---|
| 155 | stund and threaded-example
|
---|
| 156 | </seg>
|
---|
| 157 | <seg>
|
---|
| 158 | libnice.so and libgstnice.so
|
---|
| 159 | (<application>GStreamer</application> Plugin)
|
---|
| 160 | </seg>
|
---|
| 161 | <seg>
|
---|
| 162 | /usr/include/nice,
|
---|
| 163 | /usr/include/stun, and
|
---|
| 164 | /usr/share/gtk-doc/html/libnice
|
---|
| 165 | </seg>
|
---|
| 166 | </seglistitem>
|
---|
| 167 | </segmentedlist>
|
---|
| 168 |
|
---|
| 169 | <variablelist>
|
---|
| 170 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 171 | <?dbfo list-presentation="list"?>
|
---|
| 172 | <?dbhtml list-presentation="table"?>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="stunbdc">
|
---|
| 175 | <term><command>stunbdc</command></term>
|
---|
| 176 | <listitem>
|
---|
| 177 | <para>
|
---|
| 178 | performs Session Traversal for NAT (STUN) Binding Discovery.
|
---|
| 179 | </para>
|
---|
| 180 | <indexterm zone="libnice stunbdc">
|
---|
| 181 | <primary sortas="b-stunbdc">stunbdc</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 | <varlistentry id="stund">
|
---|
| 187 | <term><command>stund</command></term>
|
---|
| 188 | <listitem>
|
---|
| 189 | <para>
|
---|
| 190 | is a Session Traversal for NAT (STUN) daemon.
|
---|
| 191 | </para>
|
---|
| 192 | <indexterm zone="libnice stund">
|
---|
| 193 | <primary sortas="b-stund">stund</primary>
|
---|
| 194 | </indexterm>
|
---|
| 195 | </listitem>
|
---|
| 196 | </varlistentry>
|
---|
| 197 |
|
---|
| 198 | <varlistentry id="libnice-lib">
|
---|
| 199 | <term><filename class="libraryfile">libnice.so</filename></term>
|
---|
| 200 | <listitem>
|
---|
| 201 | <para>
|
---|
| 202 | contains the <application>libnice</application> API functions.
|
---|
| 203 | </para>
|
---|
| 204 | <indexterm zone="libnice libnice-lib">
|
---|
| 205 | <primary sortas="c-libnice">libnice.so</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | </variablelist>
|
---|
| 211 |
|
---|
| 212 | </sect2>
|
---|
| 213 |
|
---|
| 214 | </sect1>
|
---|