gst.system_clock
Module for [SystemClock] class
Types 3
classSystemClock : gst.clock.Clock
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
SystemClock self()Returns `this`, for use in `with` statements.SystemClockGidBuilder builder()Get builder for [gst.system_clock.SystemClock] Returns: New builder objectgst.types.ClockType clockType() @propertyvoid clockType(gst.types.ClockType propval) @propertygst.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].Methods
T clockType(gst.types.ClockType propval)Fluent builder for [gst.system_clock.SystemClock]
Methods