[Bug 703584] New: udpsrc timeout

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 3 20:07:50 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=703584
  GStreamer | don't know | 1.1.1

           Summary: udpsrc timeout
    Classification: Platform
           Product: GStreamer
           Version: 1.1.1
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: 765621965 at qq.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list