webrtc: always reply to a promise
authorMatthew Waters <matthew@centricular.com>
Tue, 5 May 2020 14:30:34 +0000 (00:30 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 6 May 2020 02:53:27 +0000 (02:53 +0000)
commit50644f5718c702370e779bf9e8d88bab2085a17b
treee5529b678bd6b7e75e44f7f4a4881f82429c4a62
parent1f395e3ddb8767bfe85c4a359e7ba05f82ec78e9
webrtc: always reply to a promise

Otherwise, we defeat the purpose of a promise.

We were not replying when the state was closed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1240>
ext/webrtc/gstwebrtcbin.c
ext/webrtc/gstwebrtcbin.h
ext/webrtc/sctptransport.c
ext/webrtc/utils.h
ext/webrtc/webrtcdatachannel.c