gstrtcweb nicetransport enquire

Michael Nazzareno Trimarchi michael at amarulasolutions.com
Sat Jan 9 08:04:21 UTC 2021


Hi

Found some problem on libnice version that I'm using, I will try to
bump it and keep posted

Michael

On Fri, Jan 8, 2021 at 10:20 AM Michael Nazzareno Trimarchi
<michael at amarulasolutions.com> wrote:
>
> Hi
>
> 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?
>
> Michael



-- 
Michael Nazzareno Trimarchi
Amarula Solutions BV
COO Co-Founder
Cruquiuskade 47 Amsterdam 1018 AM NL
T. +31(0)851119172
M. +39(0)3479132170
[`as] https://www.amarulasolutions.com


More information about the gstreamer-devel mailing list