Create watch for this bus.
The SocketSource will be dispatched whenever a message is on the bus. After the GSource is dispatched, the message is popped off the bus and unreffed.
As with other watches, there can only be one watch on the bus, including any signal watch added with gst_bus_add_signal_watch
.
| this |
a Bus to create the watch for |
|
a SocketSource that can be added to a MainLoop. |