GNOME Bugzilla – Bug 613591
rtspsrc doesn't parse negative port numbers
Last modified: 2010-03-24 11:13:05 UTC
Hi, we have an Arecont IP camera, and try to watch live view on rtp. But when I trying to connect to the camera, the rtspsrc says: rtspsrc gstrtspsrc.c:4468:gst_rtspsrc_setup_streams:<rtspsrc0> failed to parse transport RTP/AVP;unicast;client_port=-18206--18205;server_port=6970-6971 I think the problematic parts are the negative port numbers, it's maybe incorrect, but with mplayer it works fine and i can view live pictures. Is it an rtspsrc bug? Regards Tibor
(In reply to comment #0) > I think the problematic parts are the negative port numbers, it's maybe > incorrect, but with mplayer it works fine and i can view live pictures. > > Is it an rtspsrc bug? Probably not a bug but it would be good if rtspsrc could handle wrong input better.
Can you attach the output of the following line? gst-launch rtspsrc debug=1 location=rtsp://.... I think it is the server that echoes the client_port pair with a signedness error.
commit 4ff230e71bfb08790aaf49f71e57e1ef1205464b Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Wed Mar 24 12:10:38 2010 +0100 rtsptransport: ignore unparsable ranges Ignore unparsable port ranges instead of erroring out. Fixes #613591