gst-examples Issue: Required gstreamer plugin 'nice' not found

Nirbheek Chauhan nirbheek.chauhan at gmail.com
Wed Sep 1 15:58:28 UTC 2021


Hi Terence,

You should not build gst-examples directly. You do not need to build
libnice by hand. You do not need to install libnice using apt.

You should build gstreamer and the examples using gst-build:

$ git clone https://gitlab.freedesktop.org/gstreamer/gst-build
$ cd gst-build
# The -D arguments are optional; they force meson to error out if
those features could not be enabled
$ meson _build -Dlibnice=enabled -Dgst-examples=enabled -Dbad=enabled
-Dgst-plugins-bad:webrtc=enabled -Dtls=enabled
$ ninja -C _build

You will probably need to install some development packages, such as
openssl-devel. Then you must enter the gstreamer "uninstalled"
environment:

$ ./gst-env.py

And you can check that the plugin is available:

$ gst-inspect-1.0 nice

And you can run the example:

$ cd _build/subprojects/gst-examples/webrtc/sendrecv/gst/
$ ./webrtc-sendrecv

Cheers,
Nirbheek

On Wed, Sep 1, 2021 at 6:30 AM Terence Darwen via gstreamer-devel
<gstreamer-devel at lists.freedesktop.org> wrote:
>
> I'm trying to run the webrtc-sendrecv example here: https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/webrtc/sendrecv/gst/webrtc-sendrecv.c
>
> I've followed the instructions and have successfully built the webrtc-sendrecv executable, but when running it I get a "Required gstreamer plugin 'nice' not found" error.
>
> I've manually built gstreamer v1.19.1, base plugins and the good /bad/ugly plugins, as well as manually built and installed libnice as instructed here https://github.com/libnice/libnice but still get this plug-in error.
>
> I'm using Ubuntu 18.04.3 LTS for this.
>
> Any advice would be appreciated.


More information about the gstreamer-devel mailing list