| GStreamer 0.9 Core Reference Manual |
|---|
GstNetTimeProviderGstNetTimeProvider — |
#include <gst/net/gstnet.h>
GstNetTimeProvider;
GstNetTimeProvider* gst_net_time_provider_new
(GstClock *clock,
const gchar *address,
gint port);
"address" gchararray : Read / Write "clock" GstClock : Read / Write "port" gint : Read / Write
GstNetTimeProvider* gst_net_time_provider_new (GstClock *clock, const gchar *address, gint port);
Allows network clients to get the current time of clock.
clock : |
a GstClock to export over the network |
address : |
an address to bind on as a dotted quad (xxx.xxx.xxx.xxx), or NULL to bind to all addresses |
port : |
a port to bind on, or -1 to let the kernel choose |
| Returns : | The new GstNetTimeProvider, or NULL on error. |
address" property"address" gchararray : Read / Write
The address to bind on, as a dotted quad (x.x.x.x).
Default value: "0.0.0.0"
port" property"port" gint : Read / Write
The port to receive the packets from, 0=allocate.
Allowed values: [0,65535]
Default value: 5637
| << GstNetTimePacket | Object Hierarchy >> |