webrtcbin: Add a prepare-data-channel GObject signal
authorPhilippe Normand <philn@igalia.com>
Mon, 30 May 2022 10:26:24 +0000 (11:26 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 7 Jun 2022 11:29:33 +0000 (11:29 +0000)
commitc2877114180302041174253a34cf4f797ea16ec3
tree5faa388d77fbd4b6119f910c2431e70d7731e6fc
parent779ca38229103e342dc6055b4903e7e073e6c076
webrtcbin: Add a prepare-data-channel GObject signal

This new signal allows data-channel consumers to configure signal handlers on a
newly created data-channel, before any data or state change has been notified.

The webrtcin unit-tests were refactored to make use of this new signal.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2427>
subprojects/gst-plugins-bad/docs/plugins/gst_plugins_cache.json
subprojects/gst-plugins-bad/ext/webrtc/gstwebrtcbin.c
subprojects/gst-plugins-bad/tests/check/elements/webrtcbin.c