obtain

function obtain():Gst.Clock {
    // Gjs wrapper for gst_system_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. MT safe.