diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index 86dd1c5bfa..7385b7b42a 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 0e585bb936..fe48300e80 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: