webrtcbin: Start datachannel SCTP elements only after the DTLS connection is established
authorSebastian Dröge <sebastian@centricular.com>
Fri, 17 Jan 2020 09:19:53 +0000 (11:19 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sun, 19 Jan 2020 11:16:34 +0000 (11:16 +0000)
commit0c39068c893af8457d6174657760ce749a0c818c
tree7f546b4e6a25db894ae7db4f71f30ecc6e6f113a
parent2798a80ebeb1b9667ef73f28454cd206ca0796be
webrtcbin: Start datachannel SCTP elements only after the DTLS connection is established

Otherwise we would start sending data to the DTLS connection before, and
the DTLS elements consider this an error.

Also RFC 8261 mentions:
  o A DTLS connection MUST be established before an SCTP association can
    be set up.
ext/webrtc/gstwebrtcbin.c