Gst.Query.prototype.set_latency
function set_latency(live:Boolean, min_latency:Gst.ClockTime, max_latency:Gst.ClockTime):void {
// Gjs wrapper for gst_query_set_latency()
}Answer a latency query by setting the requested values in the given format.
- live
if there is a live element upstream
- min_latency
the minimal latency of the upstream elements
- max_latency
the maximal latency of the upstream elements