diff options
author | Michael Smith <msmith@xiph.org> | 2005-12-20 12:44:25 +0000 |
---|---|---|
committer | Michael Smith <msmith@xiph.org> | 2005-12-20 12:44:25 +0000 |
commit | bdafee59257a32d10c00a6d7b495129e1f0ae954 (patch) | |
tree | c714333ba55e7f5c1d807bfc894e2e238746e55d /gst/udp/gstmultiudpsink.h | |
parent | 3ffe64515ed18e1ee53aa78d83632a92c0114c13 (diff) |
gst/udp/gstmultiudpsink.*: Collect statistics; return them from get_stats.
Original commit message from CVS:
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_render),
(gst_multiudpsink_add), (gst_multiudpsink_remove),
(gst_multiudpsink_get_stats):
* gst/udp/gstmultiudpsink.h:
Collect statistics; return them from get_stats.
Diffstat (limited to 'gst/udp/gstmultiudpsink.h')
-rw-r--r-- | gst/udp/gstmultiudpsink.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/udp/gstmultiudpsink.h b/gst/udp/gstmultiudpsink.h index 4b75dfcf..e8cbf8f9 100644 --- a/gst/udp/gstmultiudpsink.h +++ b/gst/udp/gstmultiudpsink.h @@ -57,6 +57,11 @@ typedef struct { gchar *host; gint port; + + /* Per-client stats */ + guint64 bytes_sent; + guint64 connect_time; + guint64 disconnect_time; } GstUDPClient; /* sends udp packets to multiple host/port pairs. |