Found some problem on libnice version that I'm using, I will try to
bump it and keep posted
On Fri, Jan 8, 2021 at 10:20 AM Michael Nazzareno Trimarchi
<[hidden email]> wrote:
> We are working on an application using gstwebrtc plugin but we have a
> problem that NiceAgent reference counter
> does not go to 0 so sockets remain and they are not disposed of.
> static void
> gst_webrtc_nice_transport_finalize (GObject * object)
> GstWebRTCNiceTransport *nice = GST_WEBRTC_NICE_TRANSPORT (object);
> GstWebRTCICETransport *ice = GST_WEBRTC_ICE_TRANSPORT (object);
> >>> gst_object_unref (GST_OBJECT (ice->src));
> >>> gst_object_unref (GST_OBJECT (ice->sink));
> I have added those two because I don't find where the src and sink
> object are unref.
> gst_object_unref (nice->stream);
> G_OBJECT_CLASS (parent_class)->finalize (object);
> Problem on reference on NiceAgent on plugin remains. Can someone point
> where this increment can happen?