Gst.Clock.prototype.get_time

function get_time():Gst.ClockTime {
    // Gjs wrapper for gst_clock_get_time()
}

Gets the current time of the given clock. The time is always monotonically increasing and adjusted according to the current offset and rate.

Returns

the time of the clock. Or GST_CLOCK_TIME_NONE when given invalid input. MT safe.