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

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

Returns

A newly allocated sequence of #GST_NET_TIME_PACKET_SIZE bytes.