Dave Buchanan
2015-12-18 06:03:24 UTC
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.
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.
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.
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
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.
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.
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.
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