webrtc receivebin: Don't unblock pad until sender is unblocked
authorOlivier Crête <olivier.crete@collabora.com>
Sat, 26 Jun 2021 18:25:39 +0000 (14:25 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 29 Jun 2021 04:42:20 +0000 (00:42 -0400)
commita07e52528c7e56113e980d34f0639dbee86f4dd0
tree2e16d0bc86e985bad9cf429cdea20c9118d6e06a
parent0e559fc2f394114d4ef884f375f470125e28bc89
webrtc receivebin: Don't unblock pad until sender is unblocked

As ther OpenSSL session is created when the receiver goes into
playing, we have to wait for the ICE session to be connected before we
can start delivering packets to the DTLS element.

Fixes #1599

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2363>
ext/webrtc/transportreceivebin.c