After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 552650 - [rtspsrc] (partially) fails SETUP with MS RTSP servers
[rtspsrc] (partially) fails SETUP with MS RTSP servers
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.15
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-17 15:22 UTC by Mark Nauwelaerts
Modified: 2009-02-23 21:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Possible patch (4.06 KB, patch)
2008-09-17 15:25 UTC, Mark Nauwelaerts
none Details | Review
Updated patch (4.30 KB, patch)
2009-02-10 17:05 UTC, Mark Nauwelaerts
committed Details | Review

Description Mark Nauwelaerts 2008-09-17 15:22:21 UTC
According to MS RTSP specs (see also http://msdn.microsoft.com/en-us/library/cc245238.aspx), the UDP port pair used in subsequent SETUP requests for various streams must be identical (since there will actually be only 1 stream of muxed asf packets).  rtspsrc follows traditional specs and will use different port pairs in the SETUPs (if UDP was negotiated).  The typical result is that only the first stream (e.g. audio) will be selected/streamed.

Note that this does not apply or occur if interleaved TCP happens to be chosen.
Comment 1 Mark Nauwelaerts 2008-09-17 15:25:00 UTC
Created attachment 118883 [details] [review]
Possible patch

* If an UDP SETUP fails (and under sufficient conditions), retry the SETUP using previously (first) used UDP port pair.
Comment 2 Mark Nauwelaerts 2009-02-10 17:05:31 UTC
Created attachment 128392 [details] [review]
Updated patch

As before, but updated to latest HEAD/master.
Comment 3 Sebastian Dröge (slomo) 2009-02-22 18:29:03 UTC
ping? :)
Comment 4 Mark Nauwelaerts 2009-02-23 21:53:14 UTC
commit 21cb00aa9c290010c7da7afc04388348914e7c07
Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Date:   Mon Jan 26 11:06:13 2009 +0100

    rtspsrc: perform UDP SETUP according to MS RTSP spec

    MS RTSP spec states that the UDP port pair used in subsequent SETUP
    requests for various streams must be identical (since there will actually
    be only 1 stream of muxed asf packets).  Following traditional specs and
    using different port pairs in the SETUPs for separate streams will result
    in all but the first one failing and only one stream being streamed.

    So, in appropriate circumstances, retry UDP SETUP using previously used
    port pair.  Fixes #552650.