webrtcbin: support adding TURN servers after pipeline start
authorAlba Mendez <alba.mendez@dolby.com>
Tue, 18 Oct 2022 09:16:20 +0000 (11:16 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 19 Oct 2022 07:23:42 +0000 (07:23 +0000)
commit4810008afa1fbb89d0e84bc0aaa0a3f97506b1bb
tree37f1cd23e88f8f82f57f6ecd46b0e667ded48bee
parent698503f5a72b24d923bc8a9b9fa6fb0bb8d7f0e4
webrtcbin: support adding TURN servers after pipeline start

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1680

When a TURN server is added for the first time, propagate
the change to all nice streams that already exist. This
lets us add servers after the pipeline has been started
(and streams have been added).

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