[Bug 747818] New: gst-rtsp-server blocks while connect to rtsp

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 13 22:14:34 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=747818

            Bug ID: 747818
           Summary: gst-rtsp-server blocks while connect to rtsp
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: aborilov at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 301505
  --> https://bugzilla.gnome.org/attachment.cgi?id=301505&action=edit
log from simple test

I have two cameras, one of them not work very well sometimes, but when
gst-rtst-server try to connect to bad camera, it can't connect to good camera
too. Only when gst-rtsp-server drop connection by timeout to bad camera, it
connects to good one. It looks like gst-rtsp-server blocks somewhere.

Simple test:
from gi.repository import Gst, GObject, GstRtspServer
Gst.init(None)
rtsp_server = GstRtspServer.RTSPServer()
rtsp_server.attach(None)
factory = GstRtspServer.RTSPMediaFactoryURI()
factory.set_uri('rtsp://good_camera_url')
rtsp_server.get_mount_points().add_factory('/good', factory)
factory = GstRtspServer.RTSPMediaFactoryURI()
factory.set_uri('rtsp://bad_camera_url')
rtsp_server.get_mount_points().add_factory('/bad', factory)
GObject.MainLoop().run()

>From log clearly see that after client to bad camera attached to context and
enter mainloop, client to good camera connected, but stack on attaching it to
context. And only after bad client exit mainloop, client to good camera start
to work.

-- 
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