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 550167 - rtsp don't support username/password
rtsp don't support username/password
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.8
Other Linux
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-09-01 09:57 UTC by Levente Farkas
Modified: 2009-08-09 00:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the log file (7.92 KB, application/x-gzip)
2008-09-25 14:29 UTC, Levente Farkas
Details

Description Levente Farkas 2008-09-01 09:57:59 UTC
rtsp don't support username/password in the uri.
while this command works with vlc:
vlc rtsp://admin:admin@192.168.2.109/
neither playbin nor playbin2 doesn't support it:
gst-launch playbin uri=rtsp://user:user@192.168.2.109/
this is with linksys PVC2300 and it's not possible to use rtsp without password so this camera can't be used without this feature:-(
Comment 1 Wim Taymans 2008-09-02 14:10:59 UTC
Digest password support was added in version 0.10.9 of gst-plugins-good. Please reopen if this is not working for you.
Comment 2 Levente Farkas 2008-09-08 11:07:03 UTC
still not working:-(
-----------------------------------------
# gst-launch playbin uri=rtsp://user:user@192.168.2.109/
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
WARNING: from element /playbin0/source: Could not read from resource.
Additional debug info:
gstrtspsrc.c(2815): gst_rtspsrc_loop_udp (): /playbin0/source:
Could not receive any UDP packets for 5.0000 seconds, maybe your firewall is blocking it. Retrying using a TCP connection.
Caught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 26642759940 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
-----------------------------------------
# rpm -qa|grep gstreamer|sort
gstreamer-0.10.20-1
gstreamer-plugins-base-0.10.20-1
gstreamer-plugins-good-0.10.9-2
gstreamer-tools-0.10.20-1
-----------------------------------------
and of course vlc still working with:
-----------------------------------------
# vlc rtsp://user:user@192.168.2.109/
VLC media player 0.8.6i Janus
Remote control interface initialized. Type `help' for help.
status change: ( new input: rtsp://user:user@192.168.2.109/ )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
status change: ( stop state: 0 )
status change: ( quit )
[00000301] main playlist: stopping playback
-----------------------------------------
Comment 3 Wim Taymans 2008-09-25 14:04:38 UTC
can you make a log for me like this:

GST_DEBUG=*rtsp*:5,*udp*:5 gst-launch rtspsrc debug=1 location=rtsp://user:user@192.168.2.109/ ! fakesink -v >debug.log 2>&1 

then gzip the resulting debug.log file and attach here.
Comment 4 Levente Farkas 2008-09-25 14:29:16 UTC
Created attachment 119371 [details]
the log file

here is the debug log
Comment 5 Wim Taymans 2008-09-25 14:41:06 UTC
It seems to authenticate fine, then it joins a multicast group but gets no data. Then it tries TCP but gets no data either. no idea what's going on, maybe you can try with protocol=1 and protocol=4 to make it try unicast and tcp only. 
Comment 6 Levente Farkas 2008-09-26 12:24:33 UTC
nothing else happened with protocol=1 and protocol=4. i investigate a bit further with this problem. i try to use it on rhel/centos-5. but by default it's only contains gstreamer-plugins-good-0.10.4-4.el5 os i've to rebuild rpm from fedora. but during rebuild it can't find proper soup:
--------------------------------------------------
configure: *** checking feature: soup http client plugin (2.4) ***
configure: *** for plug-ins: souphttpsrc ***
checking for SOUP... no
configure: *** These plugins will not be built: souphttpsrc
--------------------------------------------------
and i can't rebuild fedora's libsoup since it's require newer glib2 which has far too much dependencies then it's worth to build. this means i build gstreamer-plugins-good for centos _without_ souphttpsrc.
is this requires for user authentication?
afais this is the only difference in the build log from the fedora build.
is this means it's not possible to use rtsp with user auth in rhel/centos?
Comment 7 Wim Taymans 2008-09-30 08:48:24 UTC
libsoup is not needed for anything rtsp related.
Comment 8 Levente Farkas 2008-10-02 10:09:25 UTC
ok so what's the solution?
if i put this ip camera into a public ip without any kind of firewall you can test it yourself too with vls and gstreamer.
would it help to you?
anyway it's a Linksys PVC2300 camera.
Comment 9 Wim Taymans 2008-10-03 08:56:02 UTC
yes, that would help. Why don't you hop into IRC on irc.freenode.org #gstreamer.
Comment 10 Wim Taymans 2009-08-03 11:56:57 UTC
ping?
Comment 11 Levente Farkas 2009-08-03 12:17:03 UTC
it's working with fedora 11's gstreamer.
thanks.