[Live-devel] How to mke a URL with username & password?
yueyanbin at vimicro.com
yueyanbin at vimicro.com
Tue Jul 29 02:31:52 PDT 2014
Hello Ross,
Thanks for your reply!
There is another question, how could we support the url format rtsp://IP:port/test.264&user=username&password=password ?
When I use another IP Camera, I could use a url like rtsp://IP:port/type=0&id=1&user=username&password=password to play the stream with vlc.
Need we to modify the funtion authenticationOK ?
yueyanbin at vimicro.com
From: Ross Finlayson
Date: 2014-07-29 17:01
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] How to mke a URL with username & password?
If I use the Authentication in the rtspsverver (as define ACCESS_CONTROL in testOnDemandRTSPServer.cpp), how could I make the url with the user name and password?
We use the testOnDemandRTSPServer as rtsp server, and vlc as the client, use the url rtsp://IP:port/test.h264 to play, then vlc show a username & password input dialog.
Even we use the url rtsp://IP:port/test.h264&user=username&password=password to play, the input dialog show all the same.
Could anyone tell me how to make the url with username & password?
"rtsp://username:password@IP:port/test.264" should work. (Note that "testOnDemandRTSPServer" uses "test.264", not "test.h264" as the stream name.)
I don't recommend this, however, because the user name and password will be sent over the Internet 'in the clear'. It's better to omit the username and password, and let VLC's GUI pop up a dialog for you to enter these; then they won't get sent over the Internet.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140729/15fff3e5/attachment.html>
More information about the live-devel
mailing list