AudioEncoder.setLatency

void setLatency(gst.types.ClockTime min, gst.types.ClockTime max)

Sets encoder latency. If the provided values changed from previously provided ones, this will also post a LATENCY message on the bus so the pipeline can reconfigure its global latency.

Parameters

minminimum latency
maxmaximum latency