Static build fails to load libnice elements

Nicolas Dufresne nicolas at ndufresne.ca
Fri Mar 5 00:51:10 UTC 2021


Le jeudi 04 mars 2021 à 23:25 +0000, Aaron Clauson a écrit :
> > I'm pretty sure that the libnice elements don't get included in
> libgstreamer-full, you have to link them separately as they're not
> officially part of GStreamer.
> 
> Thanks,
> 
> But why would libnice be treated differently from any other plugin?

The creation of the gstreamer-full library is closely tied to GStreamer build
system. The libnice plugin is not part of GStreamer project, but par of libnice
project. I think there would be some values to try and figure-out a way, but for
now, the build system is simply not aware of the existance of that plugin
(nothing is hardcoded, it's all done through meson).

> 
> A quick comparison of the symbols in libnice.so and related symbols in
> libgstreamer-full-1.0.so does seem to show that at least some of the libnice
> symbols are being pulled in.
> 
> For example. From libnice.so:
> 
> 000000000000b630 T nice_address_copy_to_sockaddr
> 000000000000b840 T nice_address_dup
> 000000000000b760 T nice_address_equal
> 000000000000b9f0 T nice_address_equal_no_port
> ...
> 0000000000037380 T stun_agent_build_unknown_attributes_error
> 00000000000360b0 T stun_agent_default_validater
> 0000000000036e90 T stun_agent_finish_message
> 0000000000036a80 T stun_agent_forget_transaction
> 0000000000036060 T stun_agent_init
> ...
> 
> From libgstreamer-full-1.0.so:
> 
> 0000000000cb1c40 t nice_address_copy_to_sockaddr
> 0000000000cb1e50 t nice_address_dup
> 0000000000cb1d70 t nice_address_equal
> 0000000000cb2010 t nice_address_equal_no_port
> ...
> 0000000000cde970 t stun_agent_build_unknown_attributes_error
> 0000000000cdd650 t stun_agent_default_validater
> 0000000000cdd4b0 t stun_agent_find_unknowns.isra.0
> 0000000000cde480 t stun_agent_finish_message
> 0000000000cde070 t stun_agent_forget_transaction
> 0000000000cdd600 t stun_agent_init
> ...
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210304/4d4ec5d3/attachment.htm>


More information about the gstreamer-devel mailing list