webrtc: Improve robustness of nice agent signal handlers
authorJohan Sternerup <johast@axis.com>
Tue, 29 Mar 2022 12:42:04 +0000 (14:42 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 4 Apr 2022 02:10:35 +0000 (02:10 +0000)
commit1842ffc9069e24131c60bc5af68eef1ba16034dd
treefb7991a1eb469470dd4dd73e9bce5d7e600d171a
parent5ed8e416fe9cf46da3f69d610a544d34b172577e
webrtc: Improve robustness of nice agent signal handlers

NiceAgent and it's associated thread is alive for as long as
GstWebRTCICE is alive so make sure any signal handlers connected to
NiceAgent do not access data that is deleted earlier.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2073>
subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcice.c
subprojects/gst-plugins-bad/ext/webrtc/icestream.c
subprojects/gst-plugins-bad/ext/webrtc/icestream.h
subprojects/gst-plugins-bad/ext/webrtc/nicetransport.c