NetTimePacket.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.

MT safe. Caller owns return value (g_free to free).

class NetTimePacket
ubyte[]
serialize
()

Return Value

Type: ubyte[]

A newly allocated sequence of #GST_NET_TIME_PACKET_SIZE bytes.