After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703584 - udpsrc timeout
udpsrc timeout
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: dont know
1.1.1
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-07-04 03:07 UTC by troy
Modified: 2014-01-19 22:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description troy 2013-07-04 03:07:45 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
Comment 1 Tim-Philipp Müller 2013-07-23 09:44:18 UTC
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'.
Comment 2 Tobias Mueller 2014-01-19 22:05:11 UTC
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!