PtpClock.this

this(void * ptr, Flag!"Take" take)
No documentation available for this declaration.
this(string name, uint domain)

Creates a new PTP clock instance that exports the PTP time of the master clock in domain. This clock can be slaved to other clocks as needed.

If gstnet.global.ptpInit was not called before, this will call gstnet.global.ptpInit with default parameters.

This clock only returns valid timestamps after it received the first times from the PTP master clock on the network. Once this happens the GstPtpClock::internal-clock property will become non-NULL. You can check this with gst.clock.Clock.waitForSync, the GstClock::synced signal and gst.clock.Clock.isSynced.

Parameters

nameName of the clock
domainPTP domain

Returns

A new #GstClock