Re: How to change the content sent by Describe method of RTSP

2014-03-13 Thread jeremy
On Wed, Mar 12, 2014, at 10:12, zy wu wrote: I compiled the libcurl with that patch , but it seems little effect,  prompt 401 Unauthorized. I captured the net packet and found the password is encrpted. Also I followed jeremy's advice, is there anything else to do before set user and

Re: How to change the content sent by Describe method of RTSP

2014-03-13 Thread zy wu
Hi, all: Thank you for your attention once again. I thought password should be set after transcode to base64, but a 401 response. Later I removed the base64 transcoding section, it works ok. Maybe libcurl have transcoded somthing I don't know. Best Regards! 2014-03-14 2:24 GMT+08:00

Re: How to change the content sent by Describe method of RTSP

2014-03-12 Thread Daniel Stenberg
On Tue, 11 Mar 2014, jer...@fastmail.co.uk wrote: This is a little tricky, there is an outstanding bug with RTSP authentication using libcurl. There is a temporary patch you can apply to your own copy of libcurl posted here http://curl.haxx.se/mail/lib-2014-02/0008.html Just pay attention

Re: How to change the content sent by Describe method of RTSP

2014-03-12 Thread zy wu
Hi, jeremy and Daniel: I compiled the libcurl with that patch , but it seems little effect, prompt 401 Unauthorized. I captured the net packet and found the password is encrpted. Also I followed jeremy's advice, is there anything else to do before set user and password? Dear Daniel, I saw

How to change the content sent by Describe method of RTSP

2014-03-11 Thread zy wu
Hi, All: I want to use the RTSP to receive stream data, but when connected to the IP Camera need permission. The default Describe request does't include user and password infomation, so I need to change the content of Describe request, but where to modify the content to be sent ? Please

Re: How to change the content sent by Describe method of RTSP

2014-03-11 Thread jeremy
On Tue, Mar 11, 2014, at 8:03, zy wu wrote: I want to use the RTSP to receive stream data,  but when connected to the IP Camera need permission. This is a little tricky, there is an outstanding bug with RTSP authentication using libcurl. There is a temporary patch you can apply to your own