• Mathieu Duponchelle's avatar
    webrtcbin: fix DTLS when receivebin is set to DROP · 9023ac1c
    Mathieu Duponchelle authored
    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.