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 "ed74abea19b3f049baf095f137388f2a">
|
---|
11 | <!ENTITY libnice-size "808 KB">
|
---|
12 | <!ENTITY libnice-buildsize "35 MB">
|
---|
13 | <!ENTITY libnice-time "1.6 SBU">
|
---|
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 |
|
---|
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 | &lfs76_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 | Note that two tests, test-io-stream-thread and
|
---|
117 | test-io-stream-pollable, may fail due to test harness
|
---|
118 | timing issues.
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | Now, as the <systemitem class="username">root</systemitem>
|
---|
123 | user:
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
127 | </sect2>
|
---|
128 |
|
---|
129 | <sect2 role="commands">
|
---|
130 | <title>Command Explanations</title>
|
---|
131 |
|
---|
132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
133 | href="../../xincludes/static-libraries.xml"/>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | <option>--without-gstreamer-0.10</option>: This switch disables
|
---|
137 | building of the <application>GStreamer</application> 0.10 plugins
|
---|
138 | which are not necessary for anything in BLFS. Remove it if you
|
---|
139 | have installed <xref linkend="gst-plugins-base"/>.
|
---|
140 | </para>
|
---|
141 |
|
---|
142 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
143 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
144 |
|
---|
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>
|
---|
156 | <seg>
|
---|
157 | stunbdc and stund
|
---|
158 | </seg>
|
---|
159 | <seg>
|
---|
160 | libnice.so and libgstnice.so
|
---|
161 | (<application>GStreamer</application> Plugin)
|
---|
162 | </seg>
|
---|
163 | <seg>
|
---|
164 | /usr/include/nice,
|
---|
165 | /usr/include/stun, and
|
---|
166 | /usr/share/gtk-doc/html/libnice
|
---|
167 | </seg>
|
---|
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 |
|
---|
176 | <varlistentry id="stunbdc">
|
---|
177 | <term><command>stunbdc</command></term>
|
---|
178 | <listitem>
|
---|
179 | <para>
|
---|
180 | performs Session Traversal for NAT (STUN) Binding Discovery.
|
---|
181 | </para>
|
---|
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>
|
---|
191 | <para>
|
---|
192 | is a Session Traversal for NAT (STUN) daemon.
|
---|
193 | </para>
|
---|
194 | <indexterm zone="libnice stund">
|
---|
195 | <primary sortas="b-stund">stund</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | <varlistentry id="libnice-lib">
|
---|
201 | <term><filename class="libraryfile">libnice.so</filename></term>
|
---|
202 | <listitem>
|
---|
203 | <para>
|
---|
204 | contains the <application>libnice</application> API functions.
|
---|
205 | </para>
|
---|
206 | <indexterm zone="libnice libnice-lib">
|
---|
207 | <primary sortas="c-libnice">libnice.so</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | </variablelist>
|
---|
213 |
|
---|
214 | </sect2>
|
---|
215 |
|
---|
216 | </sect1>
|
---|