webrtcbin: Add handling of unspecified peer-connection-state situation
authorSebastian Dröge <sebastian@centricular.com>
Sun, 12 Jan 2020 15:04:22 +0000 (17:04 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 19 Jan 2020 11:16:34 +0000 (11:16 +0000)
commit2798a80ebeb1b9667ef73f28454cd206ca0796be
treeb23f806e97504a9f53fd34badd53483b056edbee
parent4b733223337975eddf6609c31e26381e42ed6482
webrtcbin: Add handling of unspecified peer-connection-state situation

For us it can happen that the DTLS transports are still in the process
of connecting while the ICE transport is already completed. This
situation is not specified in the spec but conceptually that means it is
still in the process of connecting.

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