* socket. Deliver the stats to the app before we throw them away. */
gst_structure_free (stats);
- g_signal_emit_by_name (srtobject->element, "caller-removed",
+ g_signal_emit_by_name (srtobject->element, "caller-removed", 0,
caller->sockaddr);
}
g_mutex_unlock (&srtobject->sock_lock);
/* notifying caller-added */
- g_signal_emit_by_name (srtobject->element, "caller-added",
+ g_signal_emit_by_name (srtobject->element, "caller-added", 0,
caller->sockaddr);
if (gst_uri_handler_get_uri_type (GST_URI_HANDLER (srtobject->element)) ==
/**
* GstSRTSink::caller-added:
* @gstsrtsink: the srtsink element that emitted this signal
+ * @unused: always zero (for ABI compatibility with previous versions)
* @addr: the #GSocketAddress of the new caller
*
* A new caller has connected to @gstsrtsink.
signals[SIG_CALLER_ADDED] =
g_signal_new ("caller-added", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstSRTSinkClass, caller_added),
- NULL, NULL, NULL, G_TYPE_NONE, 1, G_TYPE_SOCKET_ADDRESS);
+ NULL, NULL, NULL, G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_SOCKET_ADDRESS);
/**
* GstSRTSink::caller-removed:
* @gstsrtsink: the srtsink element that emitted this signal
+ * @unused: always zero (for ABI compatibility with previous versions)
* @addr: the #GSocketAddress of the caller
*
* The given caller has disconnected.
g_signal_new ("caller-removed", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstSRTSinkClass,
caller_added), NULL, NULL, NULL, G_TYPE_NONE,
- 1, G_TYPE_SOCKET_ADDRESS);
+ 2, G_TYPE_INT, G_TYPE_SOCKET_ADDRESS);
/**
* GstSRTSink::caller-rejected:
/**
* GstSRTSrc::caller-added:
* @gstsrtsrc: the srtsrc element that emitted this signal
+ * @unused: always zero (for ABI compatibility with previous versions)
* @addr: the #GSocketAddress of the new caller
*
* A new caller has connected to srtsrc.
signals[SIG_CALLER_ADDED] =
g_signal_new ("caller-added", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstSRTSrcClass, caller_added),
- NULL, NULL, NULL, G_TYPE_NONE, 1, G_TYPE_SOCKET_ADDRESS);
+ NULL, NULL, NULL, G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_SOCKET_ADDRESS);
/**
* GstSRTSrc::caller-removed:
* @gstsrtsrc: the srtsrc element that emitted this signal
+ * @unused: always zero (for ABI compatibility with previous versions)
* @addr: the #GSocketAddress of the caller
*
* The given caller has disconnected.
g_signal_new ("caller-removed", G_TYPE_FROM_CLASS (klass),
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstSRTSrcClass,
caller_added), NULL, NULL, NULL, G_TYPE_NONE,
- 1, G_TYPE_SOCKET_ADDRESS);
+ 2, G_TYPE_INT, G_TYPE_SOCKET_ADDRESS);
/**
* GstSRTSrc::caller-rejected: