Closed tobiasfriden closed 5 years ago
Is 0.1.14 required for the WebRTC plugin?
Yes, libnice >= 0.1.14 is required.
Ok thanks, that at least explains the issue. Any idea how libnice 0.1.14 can be installed on raspbian stretch? The apt-get repository only contains version 0.1.13.
You can install it into /usr/local or a custom prefix and then make configure find it by setting PKG_CONFIG_PATH and at runtime LD_LIBRARY_PATH (or add the dir to /etc/ld.so.conf*).
You could also not install libnice from package and instead just install from source into /usr ?
Or you make a debian package from a newer version :)
Actually I apparently was already installing the source to /usr with this:
RUN git clone https://github.com/libnice/libnice.git \
&& cd libnice \
&& ./autogen.sh --prefix=/usr --with-gstreamer --enable-static --enable-static-plugins --enable-shared --without-gstreamer-0.10 --disable-gtk-doc --enable-compile-warnings=no \
&& make install
But the configure
script was default using the apt-get installed version. Removing it resolved the issue, thanks!
Hello,
I am trying to build gstreamer 1.14.4 in a raspbian-stretch based Docker container.
However, when I get to installing
gst-plugins-bad
the configuration script does not seem to find libnice. Running./configure --prefix=/usr
in thegst-plugins-bad-1.14.4
folder yields the following output:However I have installed libnice with
apt-get install libnice-dev
and also built the source fromhttps://github.com/libnice/libnice.git
.gst-inspect-1.0 nice
yields:My
Dockerfile
:When built from the base image
maxmcd/gstreamer:1.14-buster
instead I can get it working, and the only difference I can find is thatapt-cache policy libnice-dev
shows version 0.1.14 in that case instead of 0.1.13. Is 0.1.14 required for the WebRTC plugin?Any help greatly appreciated!