Gst.Clock.prototype.new_periodic_id
function new_periodic_id(start_time:Gst.ClockTime, interval:Gst.ClockTime):Gst.ClockID { // Gjs wrapper for gst_clock_new_periodic_id() }
Get an ID from clock to trigger a periodic notification. The periodic notifications will start at time start_time and will then be fired with the given interval. @id should be unreffed after usage.
Free-function: gst_clock_id_unref
- start_time
the requested start time
- interval
the requested interval
- Returns
a Gst.ClockID that can be used to request the time notification. MT safe.