signal callback delegate or function to connect
gst.types.FlowReturn 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 NewSample signal.
Signal that a new sample is available.
This signal is emitted from the streaming thread and only when the "emit-signals" property is true.
The new sample can be retrieved with the "pull-sample" action signal or gstapp.app_sink.AppSink.pullSample either from this signal callback or from any other thread.
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.