dtlstransport: Keep strong ref of dtls encoder/decoder
authorPhilippe Normand <philn@igalia.com>
Mon, 1 May 2023 16:46:25 +0000 (17:46 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 2 May 2023 10:44:25 +0000 (11:44 +0100)
commitbe67927b6b635b45339b081944f90a19fdc090c7
treede2152367f9c3b075ceb11fe5c23ee3b835a8277
parentd27de58ccaa2b61f475d7f6efbef189ad3dc8ad5
dtlstransport: Keep strong ref of dtls encoder/decoder

Otherwise get_property() calls for the client, certificate and/or
remote-certificate properties might access moved objects, since the encoder and
decoder are added to the transportsendbin.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4526>
subprojects/gst-plugins-bad/gst-libs/gst/webrtc/dtlstransport.c