Bin.connectDoLatency

gulong connectDoLatency(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == bool) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gst.bin.Bin))) && Parameters!T.length < 2)

Connect to DoLatency signal.

Will be emitted when the bin needs to perform latency calculations. This signal is only emitted for toplevel bins or when #GstBin:async-handling is enabled.

Only one signal handler is invoked. If no signals are connected, the default handler is invoked, which will query and distribute the lowest possible latency to all sinks.

Connect to this signal if the default latency calculations are not sufficient, like when you need different latencies for different sinks in the same pipeline.

Parameters

callbacksignal callback delegate or function to connect bool callback(gst.bin.Bin bin) bin the instance the signal is connected to (optional) Returns
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID