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);


Description

Details

GstNetClientClock

typedef struct {
  GstSystemClock clock;
} GstNetClientClock;

Opaque GstNetClientClock structure.


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.