GNOME Bugzilla – Bug 622577
rtspsrc has confusing error messages
Last modified: 2010-08-05 00:27:59 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
(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.
than it'd be useful to fix the warning message too:-) thx.
Created attachment 164868 [details] [review] possible patch patch to impove the error and warning messages
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