webrtcbin: Don't consider RTP receivers stopped
authorSebastian Dröge <sebastian@centricular.com>
Thu, 9 Jan 2020 10:27:31 +0000 (12:27 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 19 Jan 2020 10:47:59 +0000 (10:47 +0000)
commitde0f803d5693591456499859c16a7927ce30fadc
tree1d8321f4abad73b553c658a787e362d77cca3577
parent57c982a1dd53047a9dbb5e49ddded4a7929fad86
webrtcbin: Don't consider RTP receivers stopped

We don't support stopping RTP receivers currently so let's not consider
them all stopped all the time. This fixes some of the ICE/DTLS state
change handling and specifically fixes the ICE gathering state.

Previously the ICE gathering state was immediately going from NEW to
COMPLETE because it considered all transceivers stopped and as such all
activate transceivers were finished gathering ICE candidates.

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