The standard syntax to specify a user name and/or password is: 
"rtsp://<username>:<password>@<hostname>

So you could try ./openRTSP -o rtsp://admin@192.168.0.103

>>> Dave Buchanan <d...@shapland.co.uk> 12/18/15 8:51 AM >>>
> 
> 
>> 
>> Hi people
>> 
>> First of all thank you for providing the software, which I think is exactly 
>> what I am looking for
>> I have the DVR in a remote location and I wish to take an image every minute 
>> or so and upload it to a server, this way if the remote location is 
>> compromised we have the latest images available
>> 
>> 
>> 
>> 
>> I am currently running on mac osx and I have 8 channel DVR 
>> 
>> I have compiled the code as instructed using the macosx config
>> 
>> 
>> Unfortunately I have fallen at the first hurdle, I have searched hi and low 
>> for answers alas the only ones I have found do not deal with the 451 issue
>> 
>> For your information I am a software developer with years of C experience 
>> and a little of C++   happy running things on Linux etc
>> I think I am missing something very obvious 
>> 
>> please help
>> 
>> Mane thanks in advance Dave
>> 
>> 
>> below are my results for the simplest of commands
>> 
>> I then tried the -o option 
>> 
>> ./openRTSP  -o rtsp://192.168.0.103/username=admin 
>> <rtsp://192.168.0.103/username=admin>
>> Opening connection to 192.168.0.103, port 554...
>> ...remote connection opened
>> Sending request: OPTIONS rtsp://192.168.0.103/username=admin 
>> <rtsp://192.168.0.103/username=admin> RTSP/1.0
>> CSeq: 2
>> User-Agent: ./openRTSP (LIVE555 Streaming Media v2015.11.09)
>> 
>> 
>> Received 121 new bytes of response data.
>> Received a complete OPTIONS response:
>> RTSP/1.0 200 OK
>> Server: H264DVR 1.0
>> cseq: 2
>> Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, GET_PARAMETER, PLAY, PAUSE
>> 
>> 
>> RTSP "OPTIONS" request returned: OPTIONS, DESCRIBE, SETUP, TEARDOWN, 
>> GET_PARAMETER, PLAY, PAUSE
>> Daves-Mac-mini:testProgs dave$ 
>> 
>> 
>> 
>> -----------
>> 
>> 
>> ./openRTSP   rtsp://192.168.0.103/username=admin 
>> <rtsp://192.168.0.103/username=admin>
>> Opening connection to 192.168.0.103, port 554...
>> ...remote connection opened
>> Sending request: OPTIONS rtsp://192.168.0.103/username=admin 
>> <rtsp://192.168.0.103/username=admin> RTSP/1.0
>> CSeq: 2
>> User-Agent: ./openRTSP (LIVE555 Streaming Media v2015.11.09)
>> 
>> 
>> Received 121 new bytes of response data.
>> Received a complete OPTIONS response:
>> RTSP/1.0 200 OK
>> Server: H264DVR 1.0
>> cseq: 2
>> Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, GET_PARAMETER, PLAY, PAUSE
>> 
>> 
>> Sending request: DESCRIBE rtsp://192.168.0.103/username=admin 
>> <rtsp://192.168.0.103/username=admin> RTSP/1.0
>> CSeq: 3
>> User-Agent: ./openRTSP (LIVE555 Streaming Media v2015.11.09)
>> Accept: application/sdp
>> 
>> 
>> Received 52 new bytes of response data.
>> Received a complete DESCRIBE response:
>> RTSP/1.0 451 ERROR
>> Server: H264DVR 1.0
>> cseq: 3
>> 
>> 
>> Failed to get a SDP description for the URL 
>> "rtsp://192.168.0.103/username=admin <rtsp://192.168.0.103/username=admin>": 
>> 451 ERROR
>> 
>> 
>>     
>> 
> 
> 
> 


-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Please consider the environment before printing this email.

./openRTSP -o rtsp://192.168.0.103

-- 
This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html.

This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.

Please consider the environment before printing this email.


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to