webrtc receivebin: Drop serialized queries before receive queue
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 29 Jun 2021 01:13:56 +0000 (21:13 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 29 Jun 2021 04:42:20 +0000 (00:42 -0400)
commite548916d8591c7d0bacfe9ffc4bdbb74dd3db6e8
tree5abcf983649bce82db21c4c193bb0b436141e91d
parent543fcb93a45d967cf567cb39f1390f4eb697ed8d
webrtc receivebin: Drop serialized queries before receive queue

If they're not dropped, they can be blocked in the queue even if it is
leaky in the case where there is a buffer being pushed downstream. Since
in webrtc, it's unlikely that there will be a special allocator to
receive RTP packets, there is almost no downside to just ignoring the
queries.

Also drop queries if they get caught in the pad probe after the queue.

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