Gst.Bus::sync-message

function callback(bus, message:Gst.Message, ):void;

A message has been posted on the bus. This signal is emitted from the thread that posted the message so one has to be careful with locking.

This signal will not be emitted by default, you have to set up Gst.Bus.prototype.sync_signal_handler as a sync handler if you want this signal to be emitted when a message is posted on the bus, like this: <programlisting> gst_bus_set_sync_handler (bus, gst_bus_sync_signal_handler, yourdata); </programlisting>

bus

instance of Gst.Bus that is emitting the signal

message

the message that has been posted synchronously