GStreamer Good Plugins 0.10 Plugins Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
GObject +----GstObject +----GstElement +----GstBaseSink +----GstMultiUDPSink +----GstUDPSink
"bytes-served" guint64 : Read "bytes-to-serve" guint64 : Read "clients" gchar* : Read / Write "closefd" gboolean : Read / Write "sock" gint : Read "sockfd" gint : Read / Write "auto-multicast" gboolean : Read / Write "loop" gboolean : Read / Write "qos-dscp" gint : Read / Write "ttl" gint : Read / Write "ttl-mc" gint : Read / Write
"add" : Run Last "clear" : Run Last "client-added" : Run Last "client-removed" : Run Last "get-stats" : Run Last "remove" : Run Last
"bytes-served"
property "bytes-served" guint64 : Read
Total number of bytes send to all clients.
Default value: 0
"bytes-to-serve"
property "bytes-to-serve" guint64 : Read
Number of bytes received to serve to clients.
Default value: 0
"clients"
property "clients" gchar* : Read / Write
A comma separated list of host:port pairs with destinations.
Default value: NULL
"closefd"
property "closefd" gboolean : Read / Write
Close sockfd if passed as property on state change.
Default value: TRUE
"sock"
property "sock" gint : Read
Socket currently in use for UDP sending. (-1 == no socket).
Allowed values: >= G_MAXULONG
Default value: -1
"sockfd"
property "sockfd" gint : Read / Write
Socket to use for UDP sending. (-1 == allocate).
Allowed values: >= G_MAXULONG
Default value: -1
"auto-multicast"
property "auto-multicast" gboolean : Read / Write
Automatically join/leave the multicast groups, FALSE means user has to do it himself.
Default value: TRUE
"loop"
property "loop" gboolean : Read / Write
Used for setting the multicast loop parameter. TRUE = enable, FALSE = disable.
Default value: TRUE
"qos-dscp"
property "qos-dscp" gint : Read / Write
Quality of Service, differentiated services code point (-1 default).
Allowed values: [G_MAXULONG,63]
Default value: -1
"ttl"
property "ttl" gint : Read / Write
Used for setting the unicast TTL parameter.
Allowed values: [0,255]
Default value: 64
"add"
signalvoid user_function (GstMultiUDPSink *gstmultiudpsink, gchar *host, gint port, gpointer user_data) : Run Last
Add a client with destination host
and port
to the list of
clients.
|
the sink on which the signal is emitted |
|
the hostname/IP address of the client to add |
|
the port of the client to add |
|
user data set when the signal handler was connected. |
"clear"
signalvoid user_function (GstMultiUDPSink *gstmultiudpsink, gpointer user_data) : Run Last
Clear the list of clients.
|
the sink on which the signal is emitted |
|
user data set when the signal handler was connected. |
"client-added"
signalvoid user_function (GstMultiUDPSink *gstmultiudpsink, gchar *host, gint port, gpointer user_data) : Run Last
Signal emited when a new client is added to the list of clients.
|
the sink emitting the signal |
|
the hostname/IP address of the added client |
|
the port of the added client |
|
user data set when the signal handler was connected. |
"client-removed"
signalvoid user_function (GstMultiUDPSink *gstmultiudpsink, gchar *host, gint port, gpointer user_data) : Run Last
Signal emited when a client is removed from the list of clients.
|
the sink emitting the signal |
|
the hostname/IP address of the removed client |
|
the port of the removed client |
|
user data set when the signal handler was connected. |
"get-stats"
signalGValueArray* user_function (GstMultiUDPSink *gstmultiudpsink, gchar *host, gint port, gpointer user_data) : Run Last
Get the statistics of the client with destination host
and port
.
|
the sink on which the signal is emitted |
|
the hostname/IP address of the client to get stats on |
|
the port of the client to get stats on |
|
user data set when the signal handler was connected. |
Returns : |
a GValueArray of uint64: bytes_sent, packets_sent, connect_time (in epoch seconds), disconnect_time (in epoch seconds) |
"remove"
signalvoid user_function (GstMultiUDPSink *gstmultiudpsink, gchar *host, gint port, gpointer user_data) : Run Last
Remove the client with destination host
and port
from the list of
clients.
|
the sink on which the signal is emitted |
|
the hostname/IP address of the client to remove |
|
the port of the client to remove |
|
user data set when the signal handler was connected. |