Gst.Clock.prototype.new_single_shot_id
function new_single_shot_id(time:Gst.ClockTime):Gst.ClockID { // Gjs wrapper for gst_clock_new_single_shot_id() }
Get a Gst.ClockID from clock to trigger a single shot notification at the requested time. The single shot id should be unreffed after usage.
Free-function: gst_clock_id_unref
- time
the requested time
- Returns
a Gst.ClockID that can be used to request the time notification. MT safe.