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 622577 - rtspsrc has confusing error messages
rtspsrc has confusing error messages
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.23
Other Linux
: Normal normal
: 0.10.25
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-06-24 09:42 UTC by Tibor Kocsis
Modified: 2010-08-05 00:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
possible patch (2.11 KB, patch)
2010-06-29 08:49 UTC, Wim Taymans
committed Details | Review

Description Tibor Kocsis 2010-06-24 09:42:10 UTC
Hi,

I'm using a pipeline something like that:

gst-launch rtspsrc location="..." protocols=1 ! rtph264depay ! h264parse ! ffdec_h264 ! xvimagesink 

According to gst-inspect protocols=1 means that the rtspsrc should use only udp connection. But after it's timed out, it'll try to connect with tcp:

gstrtspsrc.c(3495): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blocking it. Retrying using a TCP connection.

Maybe it's a bug...

Regards
Tibor
Comment 1 Wim Taymans 2010-06-29 08:43:26 UTC
(In reply to comment #0)
> According to gst-inspect protocols=1 means that the rtspsrc should use only udp
> connection. But after it's timed out, it'll try to connect with tcp:

According to the code and my tests, it doesn't. It's just the warning message that is not telling the truth.
Comment 2 Levente Farkas 2010-06-29 08:45:01 UTC
than it'd be useful to fix the warning message too:-)
thx.
Comment 3 Wim Taymans 2010-06-29 08:49:27 UTC
Created attachment 164868 [details] [review]
possible patch

patch to impove the error and warning messages
Comment 4 Wim Taymans 2010-08-04 09:12:22 UTC
commit e39d7f7359fe9d292738ff5e3086ad78d02a93ea
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Tue Jun 29 10:46:41 2010 +0200

    rtspsrc: improve error and warning message
    
    Improve error and warning message.
    
    Fixes #622577