Gst.Clock.prototype.get_resolution

function get_resolution():Gst.ClockTime {
    // Gjs wrapper for gst_clock_get_resolution()
}

Get the accuracy of the clock. The accuracy of the clock is the granularity of the values returned by Gst.get_time.

Returns

the resolution of the clock in units of Gst.ClockTime. MT safe.