webrtcbin: Return typed "sctp-transport"
authorJohan Sternerup <johast@axis.com>
Mon, 10 May 2021 10:02:20 +0000 (12:02 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 25 Aug 2021 13:20:22 +0000 (13:20 +0000)
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>

docs/plugins/gst_plugins_cache.json
ext/webrtc/gstwebrtcbin.c

index 86dd1c5bfa00784990ddba6fa069845bfb1a0749..7385b7b42ae2d4c3820fe12a21dba229f2f783d1 100644 (file)
                         "controllable": false,
                         "mutable": "null",
                         "readable": true,
-                        "type": "GstObject",
+                        "type": "GstWebRTCSCTPTransport",
                         "writable": false
                     },
                     "signaling-state": {
index 0e585bb936d4eac9c3521d7f9cee256432f56663..fe48300e8082b4c45b7449713e7dcef185d7cf5b 100644 (file)
@@ -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: