Gst.Query.new_latency

function new_latency():Gst.Query {
    // Gjs wrapper for gst_query_new_latency()
}

Constructs a new latency query object. Use gst_query_unref() when done with it. A latency query is usually performed by sinks to compensate for additional latency introduced by elements in the pipeline.

Free-function: gst_query_unref

Returns

a Gst.Query