Skip to content

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.

CC @ystreet

Merge request reports