new_serialized_event


Description:

[ Version ( since = "1.20" ) ]
public signal bool new_serialized_event ()

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 gst_app_sink_pull_object either from this signal callback or from any other thread.

EOS will not be notified using this signal, use GstAppSink::eoss instead. EOS cannot be pulled either, use is_eos 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.




2022 vala-language.org