Gst.Bus.prototype.peek
function peek():Gst.Message { // Gjs wrapper for gst_bus_peek() }
Peek the message on the top of the bus' queue. The message will remain on the bus' message queue. A reference is returned, and needs to be unreffed by the caller.
- Returns
the Gst.Message that is on the bus, or NULL if the bus is empty. MT safe.