gstnet.net_time_packet
Module for [NetTimePacket] struct
struct NetTimePacket
Types 1
structNetTimePacket
Various functions for receiving, sending an serializing #GstNetTimePacket structures.
Fields
ClockTime localTimethe local time when this packet was sentClockTime remoteTimethe remote time observationMethods
void * boxCopy()gstnet.net_time_packet.NetTimePacket copy()Make a copy of packet. Returns: a copy of packet, free with [gstnet.nettimepacket.NetTimePacket.free].bool send(gio.socket.Socket socket, gio.socket_address.SocketAddress destAddress)Sends a #GstNetTimePacket over a socket.ubyte[] serialize()Serialized a #GstNetTimePacket into a newly-allocated sequence of #GSTNETTIMEPACKETSIZE bytes, in network byte order. The value returned is suitable for passing to write(2) or sendto(2) for communi...gstnet.net_time_packet.NetTimePacket receive(gio.socket.Socket socket, out gio.socket_address.SocketAddress srcAddress)Receives a #GstNetTimePacket over a socket. Handles interrupted system calls, but otherwise returns NULL on error.