gst.system_clock

Module for [SystemClock] class

Types 3

The GStreamer core provides a GstSystemClock based on the system time. Asynchronous callbacks are scheduled from an internal thread.

Clock implementors are encouraged to subclass this systemclock as it implements the async notification.

Subclasses can however override all of the important methods for sync and async notifications to implement their own callback methods or blocking wait operations.

Methods
GType _gType() @property
SystemClock self()Returns `this`, for use in `with` statements.
SystemClockGidBuilder builder()Get builder for [gst.system_clock.SystemClock] Returns: New builder object
void clockType(gst.types.ClockType propval) @property
gst.clock.Clock obtain()Get a handle to the default system clock. The refcount of the clock will be increased so you need to unref the clock after usage. Returns: the default clock.
void setDefault(gst.clock.Clock newClock = null)Sets the default system clock that can be obtained with [gst.system_clock.SystemClock.obtain].
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [gst.system_clock.SystemClock]