[Bug 721003] New: play requests can't find media with query parameters

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 23 19:31:48 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=721003
  GStreamer | gst-rtsp-server | git

           Summary: play requests can't find media with query parameters
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: phil at blackmoth.com.au
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Run examples/test-readme, and try to connect to it with:

gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test?query ! rtph264depay
! avdec_h264 ! xvimagesink sync=false

The output is:

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://127.0.0.1:8554/test?query
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Resource not
found.
Additional debug info:
gstrtspsrc.c(5065): gst_rtspsrc_send ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Not Found
Execution ended after 0:00:00.001341483
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...


This used to work; git-bisect points at
d4b8a8249c1826c1074bcd5b12973d442057a94b (client: append query string in
PAUSE/PLAY/TEARDOWN as well).

The problem seems to be that handle_setup_request() passes the truncated path
to gst_rtsp_session_manage_media(), but handle_play_request() uses the full
path for gst_rtsp_session_get_media().

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