Gst.Bus.prototype.create_watch
function create_watch():GLib.Source { // Gjs wrapper for gst_bus_create_watch() }
Create watch for this bus. The GSource will be dispatched whenever a message is on the bus. After the GSource is dispatched, the message is popped off the bus and unreffed.
- Returns
a GLib.Source that can be added to a mainloop.