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>
This commit is contained in:
Johan Sternerup 2021-05-10 12:02:20 +02:00 committed by GStreamer Marge Bot
parent 607ef6db60
commit 1a919a1e41
2 changed files with 3 additions and 2 deletions

View file

@ -227989,7 +227989,7 @@
"controllable": false,
"mutable": "null",
"readable": true,
"type": "GstObject",
"type": "GstWebRTCSCTPTransport",
"writable": false
},
"signaling-state": {

View 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: