webrtcbin: Fix race bringing up sctp data channel
authorDoug Nazar <nazard@nazar.ca>
Mon, 17 May 2021 13:11:54 +0000 (09:11 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 19 May 2021 05:49:48 +0000 (05:49 +0000)
commit4fcfd5b7f9dcde8d3888b58ab04f61d402896b7e
treecd5d650ec877ae033571fc602d355a794219fbb1
parenta836bd476635c5911f95ff8b38dbf7878a2ecc32
webrtcbin: Fix race bringing up sctp data channel

Notifying before pads are linked can cause the stream to fail to start.

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