Gst.Bin.prototype.recalculate_latency
function recalculate_latency():Boolean { // Gjs wrapper for gst_bin_recalculate_latency() }
Query bin for the current latency using and reconfigures this latency to all the elements with a LATENCY event.
This method is typically called on the pipeline when a #GST_MESSAGE_LATENCY is posted on the bus.
This function simply emits the 'do-latency' signal so any custom latency calculations will be performed.
- Returns
true if the latency could be queried and reconfigured.