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 call Gst.Bus.prototype.enable_sync_message_emission before.

bus

instance of Gst.Bus that is emitting the signal

message

the message that has been posted synchronously