webrtcbin: Don't consider transceivers without mid as inactive during ICE gathering...
authorSebastian Dröge <sebastian@centricular.com>
Thu, 9 Jan 2020 10:32:24 +0000 (12:32 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 19 Jan 2020 10:47:59 +0000 (10:47 +0000)
commit47ce34d32c7f4beab0aa5c6de9550bcf20344599
treefe8d838c93e5ff98562732456cd18f0d4f0f5be6
parentde0f803d5693591456499859c16a7927ce30fadc
webrtcbin: Don't consider transceivers without mid as inactive during ICE gathering state updates

We don't have any mid before parsing the SDP, which happens after we
handled the SDP answer and that usually happens long after ICE candidate
gathering is finished.

Without this all transceivers are considered inactive and as such ICE
gathering is for active transceiver was considered complete from the
very beginning.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/1126
ext/webrtc/gstwebrtcbin.c