Gst.Bus.prototype.pop

function pop():Gst.Message {
    // Gjs wrapper for gst_bus_pop()
}

Get a message from the bus.

Returns

the Gst.Message that is on the bus, or NULL if the bus is empty. The message is taken from the bus and needs to be unreffed with gst_message_unref() after usage. MT safe.