GNOME Bugzilla – Bug 703584
udpsrc timeout
Last modified: 2014-01-19 22:05:11 UTC
Hi all, I'm using a simple pipeline to receive and view an rtp live stream using udpsrc to receive data. I setted the udpsrc timeout: source=gst.element_factory_make("udpsrc") source.set_property("port",self.sourceport) source.set_property("timeout",3000) source.set_property("caps",self.caps) I also have: bus = self.pipeline.get_bus() bus.add_signal_watch() bus.connect("message",self.on_message) according to the documentation I have to receive a message on the bus after the timeout, so I disconnect the network cable to the source stream and wait for the timeout message but it seems never to arrive at least as error,warning or state change message, what wrong? How can I be notified when the source stream is not more available? thanks
Are you running a GLib/Gtk main loop? This is required for the 'signal watch' mechanism. If not you need to pop messages off the bus yourself 'manually'.
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!