VideoEncoder.setLatency

void setLatency(gst.types.ClockTime minLatency, gst.types.ClockTime maxLatency)

Informs baseclass of encoding 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

minLatencyminimum latency
maxLatencymaximum latency