webrtcsink: libsoup GType assertions
To reproduce:
- Setup the signaler and
gstwebrtc-api
frontend as explained in theREADME
gst-launch-1.0 uridecodebin3 uri=https://test-streams.mux.dev/x36xhzz/url_6/193039199_mp4_h264_aac_hq_7.m3u8 ! video/x-raw ! webrtcsink meta="meta,name=gst-stream"
- In the web frontend try expanding the remote stream
Not sure what's going on exactly. Are we trying to re-register libsoup
types?
(gst-launch-1.0:379077): GLib-GObject-CRITICAL **: 12:08:04.208: g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed
#0 g_logv (log_domain=0x7ffff7cbd037 "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=args@entry=0x7fff9e3ff5a0) at ../glib/gmessages.c:1433
#1 0x00007ffff7d3a0f3 in g_log (log_domain=log_domain@entry=0x7ffff7cbd037 "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7ffff7d96756 "%s: assertion '%s' failed") at ../glib/gmessages.c:1471
#2 0x00007ffff7d3b77d in g_return_if_fail_warning (log_domain=log_domain@entry=0x7ffff7cbd037 "GLib-GObject", pretty_function=pretty_function@entry=0x7ffff7cc1be0 <__func__.8.lto_priv.2> "g_boxed_type_register_static", expression=expression@entry=0x7ffff7cbd328 "g_type_from_name (name) == 0") at ../glib/gmessages.c:2959
#3 0x00007ffff7c92252 in g_boxed_type_register_static (name=0x7fffe81af900 "SoupMessageHeaders", boxed_copy=boxed_copy@entry=0x7fffb9cb1460 <soup_message_headers_copy>, boxed_free=boxed_free@entry=0x7fffb9cb4270 <soup_message_headers_free>) at ../gobject/gboxed.c:329
#4 0x00007fffb9cb153a in soup_message_headers_get_type_once () at ../libsoup/soup-message-headers.c:115
#5 0x00007fffb9cb4175 in soup_message_headers_get_type () at ../libsoup/soup-message-headers.c:115
#6 0x00007fffc401b9a5 in gssdp_client_class_init (klass=<optimized out>) at ../libgssdp/gssdp-client.c:719
#7 gssdp_client_class_intern_init (klass=<optimized out>) at ../libgssdp/gssdp-client.c:97
#8 0x00007ffff7cb769b in type_class_init_Wm (pclass=<optimized out>, node=<optimized out>) at ../gobject/gtype.c:2299
#9 g_type_class_ref (type=<optimized out>) at ../gobject/gtype.c:3014
#10 0x00007ffff7cb784d in g_type_class_ref (type=<optimized out>) at ../gobject/gtype.c:3006
#11 0x00007ffff7ca1229 in g_object_new_valist (object_type=object_type@entry=0x7fff2c0ed250 [GUPnPContext/GSSDPClient], first_property_name=first_property_name@entry=0x7fffb9d3f3db "interface", var_args=var_args@entry=0x7fff9e3ffbf0) at ../gobject/gobject.c:2499
#12 0x00007fffe8280173 in g_initable_new_valist (object_type=0x7fff2c0ed250 [GUPnPContext/GSSDPClient], first_property_name=0x7fffb9d3f3db "interface", var_args=var_args@entry=0x7fff9e3ffbf0, cancellable=cancellable@entry=0x0, error=error@entry=0x7fff9e3ffcf0) at ../gio/ginitable.c:246
#13 0x00007fffe828027d in g_initable_new (object_type=<optimized out>, cancellable=cancellable@entry=0x0, error=error@entry=0x7fff9e3ffcf0, first_property_name=first_property_name@entry=0x7fffb9d3f3db "interface") at ../gio/ginitable.c:164
#14 0x00007fffb9d3c5d0 in create_loopback_context (data=data@entry=0x7fff2c0dd1f0) at ../libgupnp/gupnp-network-manager.c:192
#15 0x00007ffff7d30c72 in g_idle_dispatch (source=0x7fff2c0f09c0, callback=0x7fffb9d3c550 <create_loopback_context>, user_data=0x7fff2c0dd1f0) at ../glib/gmain.c:6126
#16 0x00007ffff7d31c7f in g_main_dispatch (context=0x7fff2c035830) at ../glib/gmain.c:3454
#17 g_main_context_dispatch (context=0x7fff2c035830) at ../glib/gmain.c:4172
#18 0x00007ffff7d88178 in g_main_context_iterate.constprop.0 (context=0x7fff2c035830, block=1, dispatch=1, self=<optimized out>) at ../glib/gmain.c:4248
#19 0x00007ffff7d3124f in g_main_loop_run (loop=0x7fff18000b70) at ../glib/gmain.c:4448
#20 0x00007fffc402f812 in thread_func (dat=0x7fff3c04aa60) at ../libgupnp-igd/gupnp-simple-igd-thread.c:301
#21 0x00007ffff7d60f22 in g_thread_proxy (data=0x7fffcc013300) at ../glib/gthread.c:831
#22 0x00007ffff7b2919d in start_thread (arg=<optimized out>) at pthread_create.c:442
#23 0x00007ffff7baac60 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81