[Bug 770239] New: SAVP doesn't seem to work when restreaming an RTSP source

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Aug 22 15:55:51 UTC 2016


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

            Bug ID: 770239
           Summary: SAVP doesn't seem to work when restreaming an RTSP
                    source
    Classification: Platform
           Product: GStreamer
           Version: 1.9.1
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: jkominek+gnome at cardinalpeak.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 333922
  --> https://bugzilla.gnome.org/attachment.cgi?id=333922&action=edit
3 programs which, combined, demonstrate the issue

We've got a program which takes in a number of RTSP streams, munges them, and
re-serves them via RTSP, optionally with SAVP turned on. As of commit
85c52e194bcb81928b96614be0ae47d59eccb1ce
(https://github.com/GStreamer/gst-rtsp-server/commit/85c52e194bcb81928b96614be0ae47d59eccb1ce),
the last RTSP server in the "chain" seems to have problems setting up the
crypto stuff when SAVP is turned on, and never manages to send anything to the
client.

0:00:01.898853687 18188      0x159d1e0 ERROR                default
rtsp-sdp.c:441:make_media: unable to add MIKEY crypto sessions for stream 0
0:00:01.898872897 18188      0x159d1e0 ERROR                default
rtsp-sdp.c:481:gst_rtsp_sdp_from_media: could not get SDP from stream
0x7f5cd40365f0
0:00:01.898878155 18188      0x159d1e0 ERROR                default
rtsp-sdp.c:520:gst_rtsp_sdp_from_media: could not get SDP from media
0x7f5cd4031180
0:00:01.898882053 18188      0x159d1e0 ERROR             rtspclient
rtsp-client.c:2200:create_sdp: client 0x15ab8c0: could not create SDP
0:00:01.898888032 18188      0x159d1e0 ERROR             rtspclient
rtsp-client.c:2321:handle_describe_request: client 0x15ab8c0: can't create SDP

Turning off SAVP, or using gst-rtsp-server from before that commit both work.

I've attached three stripped down programs to demonstrate the problem. A & C
are trivial, and just provided for your testing convenience.

example-a is a trivial RTSP server of h264 encoded video

example-c is a trivial gst-launch client of h264 encoded video

example-b is the interesting bit. It connects to example-a, and then restreams
it with SAVP enabled, for example-c's consumption. The a->b streaming appears
to work fine, but b->c fails, as described above.

Let me know if I can provide any more information or explanation of the issue.

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