All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Installed external gstreamer, enabled WebRTC and installed external libnice plugins to buildroot, however, libnice is missing
@ 2019-07-14 10:10 Vered Kalef
  2019-07-14 18:55 ` Arnout Vandecappelle
  0 siblings, 1 reply; 4+ messages in thread
From: Vered Kalef @ 2019-07-14 10:10 UTC (permalink / raw)
  To: buildroot

Hi all,
I'm working with buildroot 18.02.
I've installed External gstreamer version 14.0.
I've managed to update the plugins-bad, to hold webrtc option.
For the webrtc I had to update libnice version, so I've installed it as
external libnice 0.1.14.
Now -
gst-inspect-1.0 webrtc
shows that webrtc exists!

Should it work as well:
gst-inspect-1.0 libnice

Is the installation of libnice as external is problematic?
I've called the external plugin CUSTOM_LIBNICE and referred to it from
custom-gst1-plugins-bad.mk -

ifeq ($(BR2_PACKAGE_CUSTOM_GST1_PLUGINS_BAD_PLUGIN_WEBRTC),y)
CUSTOM_GST1_PLUGINS_BAD_CONF_OPTS += --enable-webrtc
CUSTOM_GST1_PLUGINS_BAD_DEPENDENCIES += custom-gst1-plugins-base
CUSTOM_LIBNICE
else
CUSTOM_GST1_PLUGINS_BAD_CONF_OPTS += --disable-webrtc
endif

*The errors I got - *
0:00:05.765174600 17318 0x7fff64004400 WARN               webrtcbin
gstwebrtcbin.c:2991:gst_webrtc_bin_request_new_pad:<webrtcbin0> error:
libnice elements are not available
0:00:05.765219000 17318 0x7fff64004400 LOG              GST_MESSAGE
gstmessage.c:301:gst_message_new_custom: source webrtcbin0: creating new
message 0x7fff640bf2c0 error
0:00:05.765249100 17318 0x7fff64004400 WARN               structure
gststructure.c:1832:priv_gst_structure_append_to_gstring: No value
transform to serialize field 'gerror' of type 'GError'
0:00:05.765239500 17318 0x7fff64004400 DEBUG                GST_BUS
gstbus.c:318:gst_bus_post:<bus0> [msg 0x7fff640bf2c0] posting on bus error
message: 0x7fff640bf2c0, time 99:99:99.999999999, seq-num 65, element
'webrtcbin0', GstMessageError, gerror=(GError)NULL,
debug=(string)"gstwebrtcbin.c\(2991\):\ gst_webrtc_bin_request_new_pad\
\(\):\ /GstPipeline:pipeline0/GstWebRTCBin:webrtcbin0:\012libnice\
elements\ are\ not\ available";
0:00:05.765261300 17318 0x7fff64004400 DEBUG                    bin
gstbin.c:3715:gst_bin_handle_message_func:<pipeline0> [msg 0x7fff640bf2c0]
handling child webrtcbin0 message of type error
0:00:05.765283100 17318 0x7fff64004400 WARN               structure
gststructure.c:1832:priv_gst_structure_append_to_gstring: No value
transform to serialize field 'gerror' of type 'GError'
0:00:05.765281100 17318 0x7fff64004400 DEBUG                GST_BUS
gstbus.c:318:gst_bus_post:<bus1> [msg 0x7fff640bf2c0] posting on bus error
message: 0x7fff640bf2c0, time 99:99:99.999999999, seq-num 65, element
'webrtcbin0', GstMessageError, gerror=(GError)NULL,
debug=(string)"gstwebrtcbin.c\(2991\):\ gst_webrtc_bin_request_new_pad\
\(\):\ /GstPipeline:pipeline0/GstWebRTCBin:webrtcbin0:\012libnice\
elements\ are\ not\ available";
0:00:05.765327400 17318 0x7fff64004400 INFO        GST_ERROR_SYSTEM
gstelement.c:2172:gst_element_message_full_with_details:<webrtcbin0> posted
error message: Your GStreamer installation is missing a plug-in.

Thanks in advance,
Vered
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190714/a857a5cd/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Installed external gstreamer, enabled WebRTC and installed external libnice plugins to buildroot, however, libnice is missing
  2019-07-14 10:10 [Buildroot] Installed external gstreamer, enabled WebRTC and installed external libnice plugins to buildroot, however, libnice is missing Vered Kalef
@ 2019-07-14 18:55 ` Arnout Vandecappelle
  2019-07-16 13:30   ` Vered Kalef
  0 siblings, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2019-07-14 18:55 UTC (permalink / raw)
  To: buildroot



On 14/07/2019 12:10, Vered Kalef wrote:
> Hi all,
> I'm working with buildroot 18.02.
> I've installed External gstreamer version 14.0.
> I've managed to update the plugins-bad, to hold webrtc option.
> For the webrtc I had to update libnice version, so I've installed it as external
> libnice 0.1.14.
> Now -?
> gst-inspect-1.0 webrtc
> shows that webrtc exists!?
> 
> Should it work as well:
> gst-inspect-1.0 libnice

 I don't think libnice itself is a gstreamer plugin, so this wouldn't work. I
might be wrong though.


> Is the installation of libnice as external is problematic?
> I've called the external plugin CUSTOM_LIBNICE and referred to it from
> custom-gst1-plugins-bad.mk <http://custom-gst1-plugins-bad.mk> -
> 
> ifeq ($(BR2_PACKAGE_CUSTOM_GST1_PLUGINS_BAD_PLUGIN_WEBRTC),y)
> CUSTOM_GST1_PLUGINS_BAD_CONF_OPTS += --enable-webrtc
> CUSTOM_GST1_PLUGINS_BAD_DEPENDENCIES += custom-gst1-plugins-base? CUSTOM_LIBNICE

 I guess it is custom-libnice here, not CUSTOM_LIBNICE?

 Can you check what the build log says about libnice?

 Can you check if libnice is installed on your target?

 Regards,
 Arnout

> else
> CUSTOM_GST1_PLUGINS_BAD_CONF_OPTS += --disable-webrtc
> endif
> 
> *The errors I got -?*
> 0:00:05.765174600 17318 0x7fff64004400 WARN ? ? ? ? ? ? ? webrtcbin
> gstwebrtcbin.c:2991:gst_webrtc_bin_request_new_pad:<webrtcbin0> error: libnice
> elements are not available
> 0:00:05.765219000 17318 0x7fff64004400 LOG ? ? ? ? ? ? ?GST_MESSAGE
> gstmessage.c:301:gst_message_new_custom: source webrtcbin0: creating new message
> 0x7fff640bf2c0 error
> 0:00:05.765249100 17318 0x7fff64004400 WARN ? ? ? ? ? ? ? structure
> gststructure.c:1832:priv_gst_structure_append_to_gstring: No value transform to
> serialize field 'gerror' of type 'GError'
> 0:00:05.765239500 17318 0x7fff64004400 DEBUG ? ? ? ? ? ? ? ?GST_BUS
> gstbus.c:318:gst_bus_post:<bus0> [msg 0x7fff640bf2c0] posting on bus error
> message: 0x7fff640bf2c0, time 99:99:99.999999999, seq-num 65, element
> 'webrtcbin0', GstMessageError, gerror=(GError)NULL,
> debug=(string)"gstwebrtcbin.c\(2991\):\ gst_webrtc_bin_request_new_pad\ \(\):\
> /GstPipeline:pipeline0/GstWebRTCBin:webrtcbin0:\012libnice\ elements\ are\ not\
> available";
> 0:00:05.765261300 17318 0x7fff64004400 DEBUG ? ? ? ? ? ? ? ? ? ?bin
> gstbin.c:3715:gst_bin_handle_message_func:<pipeline0> [msg 0x7fff640bf2c0]
> handling child webrtcbin0 message of type error
> 0:00:05.765283100 17318 0x7fff64004400 WARN ? ? ? ? ? ? ? structure
> gststructure.c:1832:priv_gst_structure_append_to_gstring: No value transform to
> serialize field 'gerror' of type 'GError'
> 0:00:05.765281100 17318 0x7fff64004400 DEBUG ? ? ? ? ? ? ? ?GST_BUS
> gstbus.c:318:gst_bus_post:<bus1> [msg 0x7fff640bf2c0] posting on bus error
> message: 0x7fff640bf2c0, time 99:99:99.999999999, seq-num 65, element
> 'webrtcbin0', GstMessageError, gerror=(GError)NULL,
> debug=(string)"gstwebrtcbin.c\(2991\):\ gst_webrtc_bin_request_new_pad\ \(\):\
> /GstPipeline:pipeline0/GstWebRTCBin:webrtcbin0:\012libnice\ elements\ are\ not\
> available";
> 0:00:05.765327400 17318 0x7fff64004400 INFO ? ? ? ?GST_ERROR_SYSTEM
> gstelement.c:2172:gst_element_message_full_with_details:<webrtcbin0> posted
> error message: Your GStreamer installation is missing a plug-in.
> 
> Thanks in advance,
> Vered
> 
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Installed external gstreamer, enabled WebRTC and installed external libnice plugins to buildroot, however, libnice is missing
  2019-07-14 18:55 ` Arnout Vandecappelle
@ 2019-07-16 13:30   ` Vered Kalef
  2019-07-16 22:13     ` Peter Seiderer
  0 siblings, 1 reply; 4+ messages in thread
From: Vered Kalef @ 2019-07-16 13:30 UTC (permalink / raw)
  To: buildroot

Hi
upgraded buildroot version to 2018.05.3, so, I'll have libnice 1.14 built
in .
I enabled it.
Restored the connection between webrtc and original libnice.
I saw that I should have the plugins nicesrc and nicesink (the plugins are
part of libnice associated with gstreamer).
Still I get that libnice is missing in the installation - libnice elements
are not available
I'm still missing an installation.
Regards,
Vered

On Sun, Jul 14, 2019 at 9:55 PM Arnout Vandecappelle <arnout@mind.be> wrote:

>
>
> On 14/07/2019 12:10, Vered Kalef wrote:
> > Hi all,
> > I'm working with buildroot 18.02.
> > I've installed External gstreamer version 14.0.
> > I've managed to update the plugins-bad, to hold webrtc option.
> > For the webrtc I had to update libnice version, so I've installed it as
> external
> > libnice 0.1.14.
> > Now -
> > gst-inspect-1.0 webrtc
> > shows that webrtc exists!
> >
> > Should it work as well:
> > gst-inspect-1.0 libnice
>
>  I don't think libnice itself is a gstreamer plugin, so this wouldn't
> work. I
> might be wrong though.
>
>
> > Is the installation of libnice as external is problematic?
> > I've called the external plugin CUSTOM_LIBNICE and referred to it from
> > custom-gst1-plugins-bad.mk <http://custom-gst1-plugins-bad.mk> -
> >
> > ifeq ($(BR2_PACKAGE_CUSTOM_GST1_PLUGINS_BAD_PLUGIN_WEBRTC),y)
> > CUSTOM_GST1_PLUGINS_BAD_CONF_OPTS += --enable-webrtc
> > CUSTOM_GST1_PLUGINS_BAD_DEPENDENCIES += custom-gst1-plugins-base
> CUSTOM_LIBNICE
>
>  I guess it is custom-libnice here, not CUSTOM_LIBNICE?
>
>  Can you check what the build log says about libnice?
>
>  Can you check if libnice is installed on your target?
>
>  Regards,
>  Arnout
>
> > else
> > CUSTOM_GST1_PLUGINS_BAD_CONF_OPTS += --disable-webrtc
> > endif
> >
> > *The errors I got - *
> > 0:00:05.765174600 17318 0x7fff64004400 WARN               webrtcbin
> > gstwebrtcbin.c:2991:gst_webrtc_bin_request_new_pad:<webrtcbin0> error:
> libnice
> > elements are not available
> > 0:00:05.765219000 17318 0x7fff64004400 LOG              GST_MESSAGE
> > gstmessage.c:301:gst_message_new_custom: source webrtcbin0: creating new
> message
> > 0x7fff640bf2c0 error
> > 0:00:05.765249100 17318 0x7fff64004400 WARN               structure
> > gststructure.c:1832:priv_gst_structure_append_to_gstring: No value
> transform to
> > serialize field 'gerror' of type 'GError'
> > 0:00:05.765239500 17318 0x7fff64004400 DEBUG                GST_BUS
> > gstbus.c:318:gst_bus_post:<bus0> [msg 0x7fff640bf2c0] posting on bus
> error
> > message: 0x7fff640bf2c0, time 99:99:99.999999999, seq-num 65, element
> > 'webrtcbin0', GstMessageError, gerror=(GError)NULL,
> > debug=(string)"gstwebrtcbin.c\(2991\):\ gst_webrtc_bin_request_new_pad\
> \(\):\
> > /GstPipeline:pipeline0/GstWebRTCBin:webrtcbin0:\012libnice\ elements\
> are\ not\
> > available";
> > 0:00:05.765261300 17318 0x7fff64004400 DEBUG                    bin
> > gstbin.c:3715:gst_bin_handle_message_func:<pipeline0> [msg
> 0x7fff640bf2c0]
> > handling child webrtcbin0 message of type error
> > 0:00:05.765283100 17318 0x7fff64004400 WARN               structure
> > gststructure.c:1832:priv_gst_structure_append_to_gstring: No value
> transform to
> > serialize field 'gerror' of type 'GError'
> > 0:00:05.765281100 17318 0x7fff64004400 DEBUG                GST_BUS
> > gstbus.c:318:gst_bus_post:<bus1> [msg 0x7fff640bf2c0] posting on bus
> error
> > message: 0x7fff640bf2c0, time 99:99:99.999999999, seq-num 65, element
> > 'webrtcbin0', GstMessageError, gerror=(GError)NULL,
> > debug=(string)"gstwebrtcbin.c\(2991\):\ gst_webrtc_bin_request_new_pad\
> \(\):\
> > /GstPipeline:pipeline0/GstWebRTCBin:webrtcbin0:\012libnice\ elements\
> are\ not\
> > available";
> > 0:00:05.765327400 17318 0x7fff64004400 INFO        GST_ERROR_SYSTEM
> > gstelement.c:2172:gst_element_message_full_with_details:<webrtcbin0>
> posted
> > error message: Your GStreamer installation is missing a plug-in.
> >
> > Thanks in advance,
> > Vered
> >
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20190716/3036692e/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Installed external gstreamer, enabled WebRTC and installed external libnice plugins to buildroot, however, libnice is missing
  2019-07-16 13:30   ` Vered Kalef
@ 2019-07-16 22:13     ` Peter Seiderer
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Seiderer @ 2019-07-16 22:13 UTC (permalink / raw)
  To: buildroot

Hello Vered,

On Tue, 16 Jul 2019 16:30:02 +0300, Vered Kalef <vered.kalef@gmail.com> wrote:

> Hi
> upgraded buildroot version to 2018.05.3, so, I'll have libnice 1.14 built
> in .
> I enabled it.
> Restored the connection between webrtc and original libnice.
> I saw that I should have the plugins nicesrc and nicesink (the plugins are
> part of libnice associated with gstreamer).
> Still I get that libnice is missing in the installation - libnice elements
> are not available
> I'm still missing an installation.

As already said in [1] you need the following patches (not included in 2018.5,
but on master or 2019.05):

	# libnice: add gstreamer support [2]
	$ git cherry-pick 689c083f571e0c88463a451cb4e64c1470b67afb

	# package/gst1-plugins-bad: add webrtc option [3]
	$ git cherry-pick baffecda1678d68ab6d16514ae1903d2d4dc1e5d

Regards,
Peter

[1] http://lists.busybox.net/pipermail/buildroot/2019-July/254128.html
[2] https://git.buildroot.net/buildroot/commit/?id=689c083f571e0c88463a451cb4e64c1470b67afb
[3] https://git.buildroot.net/buildroot/commit/?id=baffecda1678d68ab6d16514ae1903d2d4dc1e5d

> Regards,
> Vered
>
> On Sun, Jul 14, 2019 at 9:55 PM Arnout Vandecappelle <arnout@mind.be> wrote:
>
> >
> >
> > On 14/07/2019 12:10, Vered Kalef wrote:
> > > Hi all,
> > > I'm working with buildroot 18.02.
> > > I've installed External gstreamer version 14.0.
> > > I've managed to update the plugins-bad, to hold webrtc option.
> > > For the webrtc I had to update libnice version, so I've installed it as
> > external
> > > libnice 0.1.14.
> > > Now -
> > > gst-inspect-1.0 webrtc
> > > shows that webrtc exists!
> > >
> > > Should it work as well:
> > > gst-inspect-1.0 libnice
> >
> >  I don't think libnice itself is a gstreamer plugin, so this wouldn't
> > work. I
> > might be wrong though.
> >
> >
> > > Is the installation of libnice as external is problematic?
> > > I've called the external plugin CUSTOM_LIBNICE and referred to it from
> > > custom-gst1-plugins-bad.mk <http://custom-gst1-plugins-bad.mk> -
> > >
> > > ifeq ($(BR2_PACKAGE_CUSTOM_GST1_PLUGINS_BAD_PLUGIN_WEBRTC),y)
> > > CUSTOM_GST1_PLUGINS_BAD_CONF_OPTS += --enable-webrtc
> > > CUSTOM_GST1_PLUGINS_BAD_DEPENDENCIES += custom-gst1-plugins-base
> > CUSTOM_LIBNICE
> >
> >  I guess it is custom-libnice here, not CUSTOM_LIBNICE?
> >
> >  Can you check what the build log says about libnice?
> >
> >  Can you check if libnice is installed on your target?
> >
> >  Regards,
> >  Arnout
> >
> > > else
> > > CUSTOM_GST1_PLUGINS_BAD_CONF_OPTS += --disable-webrtc
> > > endif
> > >
> > > *The errors I got - *
> > > 0:00:05.765174600 17318 0x7fff64004400 WARN               webrtcbin
> > > gstwebrtcbin.c:2991:gst_webrtc_bin_request_new_pad:<webrtcbin0> error:
> > libnice
> > > elements are not available
> > > 0:00:05.765219000 17318 0x7fff64004400 LOG              GST_MESSAGE
> > > gstmessage.c:301:gst_message_new_custom: source webrtcbin0: creating new
> > message
> > > 0x7fff640bf2c0 error
> > > 0:00:05.765249100 17318 0x7fff64004400 WARN               structure
> > > gststructure.c:1832:priv_gst_structure_append_to_gstring: No value
> > transform to
> > > serialize field 'gerror' of type 'GError'
> > > 0:00:05.765239500 17318 0x7fff64004400 DEBUG                GST_BUS
> > > gstbus.c:318:gst_bus_post:<bus0> [msg 0x7fff640bf2c0] posting on bus
> > error
> > > message: 0x7fff640bf2c0, time 99:99:99.999999999, seq-num 65, element
> > > 'webrtcbin0', GstMessageError, gerror=(GError)NULL,
> > > debug=(string)"gstwebrtcbin.c\(2991\):\ gst_webrtc_bin_request_new_pad\
> > \(\):\
> > > /GstPipeline:pipeline0/GstWebRTCBin:webrtcbin0:\012libnice\ elements\
> > are\ not\
> > > available";
> > > 0:00:05.765261300 17318 0x7fff64004400 DEBUG                    bin
> > > gstbin.c:3715:gst_bin_handle_message_func:<pipeline0> [msg
> > 0x7fff640bf2c0]
> > > handling child webrtcbin0 message of type error
> > > 0:00:05.765283100 17318 0x7fff64004400 WARN               structure
> > > gststructure.c:1832:priv_gst_structure_append_to_gstring: No value
> > transform to
> > > serialize field 'gerror' of type 'GError'
> > > 0:00:05.765281100 17318 0x7fff64004400 DEBUG                GST_BUS
> > > gstbus.c:318:gst_bus_post:<bus1> [msg 0x7fff640bf2c0] posting on bus
> > error
> > > message: 0x7fff640bf2c0, time 99:99:99.999999999, seq-num 65, element
> > > 'webrtcbin0', GstMessageError, gerror=(GError)NULL,
> > > debug=(string)"gstwebrtcbin.c\(2991\):\ gst_webrtc_bin_request_new_pad\
> > \(\):\
> > > /GstPipeline:pipeline0/GstWebRTCBin:webrtcbin0:\012libnice\ elements\
> > are\ not\
> > > available";
> > > 0:00:05.765327400 17318 0x7fff64004400 INFO        GST_ERROR_SYSTEM
> > > gstelement.c:2172:gst_element_message_full_with_details:<webrtcbin0>
> > posted
> > > error message: Your GStreamer installation is missing a plug-in.
> > >
> > > Thanks in advance,
> > > Vered
> > >
> > >
> > > _______________________________________________
> > > buildroot mailing list
> > > buildroot at busybox.net
> > > http://lists.busybox.net/mailman/listinfo/buildroot
> > >
> >

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-16 22:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-14 10:10 [Buildroot] Installed external gstreamer, enabled WebRTC and installed external libnice plugins to buildroot, however, libnice is missing Vered Kalef
2019-07-14 18:55 ` Arnout Vandecappelle
2019-07-16 13:30   ` Vered Kalef
2019-07-16 22:13     ` Peter Seiderer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.