NetTimePacket

Various functions for receiving, sending an serializing #GstNetTimePacket structures.

Members

Functions

copy
gstnet.net_time_packet.NetTimePacket copy()

Make a copy of packet.

send
bool send(gio.socket.Socket socket, gio.socket_address.SocketAddress destAddress)

Sends a #GstNetTimePacket over a socket.

serialize
ubyte[] serialize()

Serialized a #GstNetTimePacket into a newly-allocated sequence of #GST_NET_TIME_PACKET_SIZE bytes, in network byte order. The value returned is suitable for passing to write(2) or sendto(2) for communication over the network.

Properties

_gType
GType _gType [@property getter]

Static functions

_getGType
GType _getGType()
receive
gstnet.net_time_packet.NetTimePacket receive(gio.socket.Socket socket, gio.socket_address.SocketAddress srcAddress)

Receives a #GstNetTimePacket over a socket. Handles interrupted system calls, but otherwise returns NULL on error.

Variables

localTime
ClockTime localTime;

the local time when this packet was sent

remoteTime
ClockTime remoteTime;

the remote time observation