[Bug 796624] New: rtspclientsink: doesn't wait for all streams to be blocked

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 19 04:44:20 UTC 2018


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

            Bug ID: 796624
           Summary: rtspclientsink: doesn't wait for all streams to be
                    blocked
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ystreet00 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Test pipeline:

audiotestsrc ! queue ! audioresample ! queue ! faac ! rsink. videotestsrc !
queue ! videoconvert ! queue ! x264enc tune=zerolatency !
video/x-h264,profile=baseline,width=1280,height=720,framerate=30/1 ! rsink.
rtspclientsink name=rsink location=rtsp://127.0.0.1:8554/test debug=1

produces

ERROR default rtsp-sdp.c:585:gst_rtsp_sdp_from_stream: stream 0x7f02c01f13a0
has no caps

against

./examples/test-record '( decodebin name=depay0 ! autovideosink decodebin
name=depay1 ! autoaudiosink )'

ERROR rtspmedia rtsp-media.c:3788:default_handle_sdp: 0x7fda00034290: Media has
more or less streams than SDP (2 /= 1)
ERROR rtspclient rtsp-client.c:2764:handle_sdp: client 0x5650b908a190: could
not handle SDP
ERROR rtspclient rtsp-client.c:2941:handle_announce_request: client
0x5650b908a190: can't handle SDP
ERROR rtspclient rtsp-client.c:1497:handle_pause_request: client
0x5650b908a2a0: no session

Results in rtspcliensink sending an SDP with only one media in it around 95% of
the time as evidenced by the errors above.

The problem is that the GstRTSPStreamBlocking message is sent multiple times
for multiple streams but only the first is used to unblock all the streams.

This works in 1.12 as expected so is a regression.

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