"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,
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 };
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;
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