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