Skip to content

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.

After delaying the unblocking on the receive path, the thread from nicesrc gets blocked on the allocation query, so I'm just dropping all of the serialized queries befor the queue.

To make sure this doesn't trigger when it shouldn't, I also changed the queue to disable leakiness when the pad is unblocked.

Fixes #1599 (closed)

Edited by Olivier Crête

Merge request reports

Loading