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