When stopping using Ctrl-c, the following error was seen
(whep-client:78824): GStreamer-CRITICAL **: 13:30:41.572: Trying to dispose object "webrtcbin0", but it still has a parent "pipeline0". You need to let the parent manage the object instead of unreffing the object directly.
Thanks for the tip and the fix! I don't remember the same problem being there for the WHIP client, but I'll check using the env variable you suggested and the additional call to gst_deinit. Merging! :+1:
When stopping using Ctrl-c, the following error was seen
(whep-client:78824): GStreamer-CRITICAL **: 13:30:41.572: Trying to dispose object "webrtcbin0", but it still has a parent "pipeline0". You need to let the parent manage the object instead of unreffing the object directly.
Also fix leaks due to missing unrefs.
gst_deinit is required to debug leaks.
GST_TRACERS="leaks" GST_DEBUG="GST_TRACER:7,leaks:6" ./whep-client -u http://localhost:7090/whep/endpoint/abc123 -n -f