signal callback delegate or function to connect
bool callback(gstapp.app_sink.AppSink appSink)
appSink the instance the signal is connected to (optional)
Returns
Yes.After to execute callback after default handler, No.After to execute before (default)
Signal ID
Connect to NewSerializedEvent signal.
Signal that a new downstream serialized event is available.
This signal is emitted from the streaming thread and only when the "emit-signals" property is true.
The new event can be retrieved with the "try-pull-object" action signal or gstapp.app_sink.AppSink.pullObject either from this signal callback or from any other thread.
EOS will not be notified using this signal, use #GstAppSink::eos instead. EOS cannot be pulled either, use gstapp.app_sink.AppSink.isEos to check for it.
Note that this signal is only emitted when the "emit-signals" property is set to true, which it is not by default for performance reasons.
The callback should return true if the event has been handled, which will skip basesink handling of the event, false otherwise.