webrtcbin: Move GstPromise reply to operation framework
authorOlivier Crête <olivier.crete@collabora.com>
Thu, 1 Apr 2021 18:51:30 +0000 (14:51 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Mon, 12 Apr 2021 22:37:27 +0000 (18:37 -0400)
commit12ab469ad3665d8a6db6fa3c155a1f937d11755b
treec3c8c93b14a3cd2319f2ffa5246dc4bcefb5d492
parent38ef12063d83246d3f7ba0152252088477925236
webrtcbin: Move GstPromise reply to operation framework

This makes it possible to reply to all promises in a consistent way
without having to do a unlock/relock that is always risky.

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