diff options
-rw-r--r-- | docs/plugins/gst_plugins_cache.json | 11 | ||||
-rw-r--r-- | ext/webrtc/gstwebrtcbin.c | 19 |
2 files changed, 29 insertions, 1 deletions
diff --git a/docs/plugins/gst_plugins_cache.json b/docs/plugins/gst_plugins_cache.json index dd166e491..86dd1c5bf 100644 --- a/docs/plugins/gst_plugins_cache.json +++ b/docs/plugins/gst_plugins_cache.json @@ -227981,6 +227981,17 @@ "type": "GstWebRTCSessionDescription", "writable": false }, + "sctp-transport": { + "blurb": "The WebRTC SCTP Transport", + "conditionally-available": false, + "construct": false, + "construct-only": false, + "controllable": false, + "mutable": "null", + "readable": true, + "type": "GstObject", + "writable": false + }, "signaling-state": { "blurb": "The signaling state of this element", "conditionally-available": false, diff --git a/ext/webrtc/gstwebrtcbin.c b/ext/webrtc/gstwebrtcbin.c index fdc53f52c..c6855fc7f 100644 --- a/ext/webrtc/gstwebrtcbin.c +++ b/ext/webrtc/gstwebrtcbin.c @@ -467,7 +467,8 @@ enum PROP_BUNDLE_POLICY, PROP_ICE_TRANSPORT_POLICY, PROP_ICE_AGENT, - PROP_LATENCY + PROP_LATENCY, + PROP_SCTP_TRANSPORT, }; static guint gst_webrtc_bin_signals[LAST_SIGNAL] = { 0 }; @@ -6914,6 +6915,9 @@ gst_webrtc_bin_get_property (GObject * object, guint prop_id, case PROP_LATENCY: g_value_set_uint (value, webrtc->priv->jb_latency); break; + case PROP_SCTP_TRANSPORT: + g_value_set_object (value, webrtc->priv->sctp_transport); + break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; @@ -7192,6 +7196,19 @@ gst_webrtc_bin_class_init (GstWebRTCBinClass * klass) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /** + * GstWebRTCBin:sctp-transport: + * + * The WebRTC SCTP Transport + * + * Since: 1.20 + */ + g_object_class_install_property (gobject_class, + 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)); + + /** * GstWebRTCBin::create-offer: * @object: the #webrtcbin * @options: (nullable): create-offer options |