<div dir="ltr"><div>Hi Nirbheek - Thanks for the info.  I should have been more clear, I did build the examples using meson but did not know about the -D argument.  I'll make sure to use this next time!  </div><div><br></div><div>Much appreciated,</div><div>Terence</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Sep 1, 2021 at 10:58 AM Nirbheek Chauhan <<a href="mailto:nirbheek.chauhan@gmail.com">nirbheek.chauhan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Terence,<br>
<br>
You should not build gst-examples directly. You do not need to build<br>
libnice by hand. You do not need to install libnice using apt.<br>
<br>
You should build gstreamer and the examples using gst-build:<br>
<br>
$ git clone <a href="https://gitlab.freedesktop.org/gstreamer/gst-build" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-build</a><br>
$ cd gst-build<br>
# The -D arguments are optional; they force meson to error out if<br>
those features could not be enabled<br>
$ meson _build -Dlibnice=enabled -Dgst-examples=enabled -Dbad=enabled<br>
-Dgst-plugins-bad:webrtc=enabled -Dtls=enabled<br>
$ ninja -C _build<br>
<br>
You will probably need to install some development packages, such as<br>
openssl-devel. Then you must enter the gstreamer "uninstalled"<br>
environment:<br>
<br>
$ ./gst-env.py<br>
<br>
And you can check that the plugin is available:<br>
<br>
$ gst-inspect-1.0 nice<br>
<br>
And you can run the example:<br>
<br>
$ cd _build/subprojects/gst-examples/webrtc/sendrecv/gst/<br>
$ ./webrtc-sendrecv<br>
<br>
Cheers,<br>
Nirbheek<br>
<br>
On Wed, Sep 1, 2021 at 6:30 AM Terence Darwen via gstreamer-devel<br>
<<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br>
><br>
> I'm trying to run the webrtc-sendrecv example here: <a href="https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/webrtc/sendrecv/gst/webrtc-sendrecv.c" rel="noreferrer" target="_blank">https://gitlab.freedesktop.org/gstreamer/gst-examples/-/blob/master/webrtc/sendrecv/gst/webrtc-sendrecv.c</a><br>
><br>
> 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.<br>
><br>
> 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 <a href="https://github.com/libnice/libnice" rel="noreferrer" target="_blank">https://github.com/libnice/libnice</a> but still get this plug-in error.<br>
><br>
> I'm using Ubuntu 18.04.3 LTS for this.<br>
><br>
> Any advice would be appreciated.<br>
</blockquote></div></div>