Commit 9023ac1c authored by Mathieu Duponchelle's avatar Mathieu Duponchelle 🐸 Committed by Mathieu Duponchelle

webrtcbin: fix DTLS when receivebin is set to DROP

Regression introduced by b4bdcf15

This commit prevents the handshake from reaching dtlsdec when
the receive state of the receive bin is set to DROP (for example
when transceivers are sendonly).

This preserves the intent of the commit, by blocking the bin
at its sinks until the receive state is no longer BLOCK, but
makes sure the handshake still goes through, by only dropping
data at the src pads, as was the case before.
parent d43fea06
Pipeline #43769 passed with stages
in 50 minutes and 58 seconds