diff options
author | Johan Sternerup <johast@axis.com> | 2021-05-10 12:02:20 +0200 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-08-25 13:20:22 +0000 |
commit | 1a919a1e413a87a01077b4c6823223c0f264e88d (patch) | |
tree | 650403384b550f8b2ca5e3a0810822986f17e5e2 | |
parent | 607ef6db60e9ec70b89e79ccc7bd56b73ec2dcb2 (diff) | |
download | gstreamer-plugins-bad-1a919a1e413a87a01077b4c6823223c0f264e88d.tar.gz |
webrtcbin: Return typed "sctp-transport"
With GstWebRTCSCTPTransport type exposed we can now define
"sctp-transport" property as being of this type.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2214>
-rw-r--r-- | docs/plugins/gst_plugins_cache.json | 2 | ||||
-rw-r--r-- | ext/webrtc/gstwebrtcbin.c | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 86dd1c5bf..7385b7b42 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -227989,7 +227989,7 @@ "controllable": false, "mutable": "null", "readable": true, - "type": "GstObject", + "type": "GstWebRTCSCTPTransport", "writable": false }, "signaling-state": { diff --git a/ext/webrtc/gstwebrtcbin.c b/ext/webrtc/gstwebrtcbin.c index 0e585bb93..fe48300e8 100644 --- a/ext/webrtc/gstwebrtcbin.c +++ b/ext/webrtc/gstwebrtcbin.c @@ -7206,7 +7206,8 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass) PROP_SCTP_TRANSPORT, g_param_spec_object ("sctp-transport", "WebRTC SCTP Transport", "The WebRTC SCTP Transport", - GST_TYPE_OBJECT, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); + GST_TYPE_WEBRTC_SCTP_TRANSPORT, + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); /** * GstWebRTCBin::create-offer: |