[ CCode ( has_construct_function = false ) ]
public TimePacket (uint8[] buffer)
Creates a new TimePacket from a buffer received over the network.
The caller is responsible for ensuring that buffer
is at least SIZE
bytes long.
If buffer
is null, the local and remote times will be set to
CLOCK_TIME_NONE.
MT safe. Caller owns return value (gst_net_time_packet_free to free).
buffer |
a buffer from which to construct the packet, or NULL |
The new TimePacket. |