GstNetClientClock

GstNetClientClock —

Synopsis


#include <gst/net/gstnet.h>


            GstNetClientClock;
GstClock*   gst_net_client_clock_new        (gchar *name,
                                             const gchar *remote_address,
                                             gint remote_port,
                                             GstClockTime base_time);


Object Hierarchy


  GObject
   +----GstObject
         +----GstClock
               +----GstSystemClock
                     +----GstNetClientClock

Properties


  "address"              gchararray            : Read / Write
  "port"                 gint                  : Read / Write

Description

Details

GstNetClientClock

typedef struct _GstNetClientClock GstNetClientClock;


gst_net_client_clock_new ()

GstClock*   gst_net_client_clock_new        (gchar *name,
                                             const gchar *remote_address,
                                             gint remote_port,
                                             GstClockTime base_time);

Create a new GstNetClientClock that will report the time provided by the GstNetClockProvider on remote_address and remote_port.

name : a name for the clock
remote_address : the address of the remote clock provider
remote_port : the port of the remote clock provider
base_time : initial time of the clock
Returns : a new GstClock that receives a time from the remote clock.

Properties

The "address" property

  "address"              gchararray            : Read / Write

The address of the machine providing a time server, as a dotted quad (x.x.x.x).

Default value: "127.0.0.1"


The "port" property

  "port"                 gint                  : Read / Write

The port on which the remote server is listening.

Allowed values: [0,65535]

Default value: 5637