BaseSrc.queryLatency

bool queryLatency(out bool live, out gst.types.ClockTime minLatency, out gst.types.ClockTime maxLatency)

Query the source for the latency parameters. live will be true when src is configured as a live source. min_latency and max_latency will be set to the difference between the running time and the timestamp of the first buffer.

This function is mostly used by subclasses.

Parameters

liveif the source is live
minLatencythe min latency of the source
maxLatencythe max latency of the source

Returns

true if the query succeeded.