Hi there,
I am triying to connect a TP-Link C200 Camera.
Using OpenRTSP I can connect perfectly using ./openRTSP -t -4 -P 10 rtsp://888888:888888@192.168.1.82:554/stream2
With myRtspClient I use ./complete_example rtsp://192.168.1.82:554/stream2, previously I am set username and password in complete_example.cpp.
the response is:
Start play rtsp://192.168.1.82:554/stream2
Then put video data into test_packet_recv.h264
RTSP/1.0 200 OK
CSeq: 1
Date: Thu, Jun 25 2020 09:35:01 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
CheckAuth: error
DoDESCRIBE error
The error is in line 2000 of rtspClient.cpp:
if(!IsResponse_200_OK()) {
return CHECK_ERROR;
}
If I change return CHECK_ERROR for return CHECK_OK
The new response is:
Start play rtsp://192.168.1.82:554/stream2
Then put video data into test_packet_recv.h264 HOLAAAA
RTSP/1.0 200 OK
CSeq: 1
Date: Thu, Jun 25 2020 09:12:23 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER
RTSP/1.0 401 Unauthorized
CSeq: 3
Date: Thu, Jun 25 2020 09:12:23 GMT
WWW-Authenticate: Digest realm="TP-LINK Streaming Media", nonce="75f8c61d0f9ebdadedb7bb501628d4e7"
DoDESCRIBE error
My RTSP knowledge is null.
Could you help me?
Thanks!
Hi there,
I am triying to connect a TP-Link C200 Camera.
Using OpenRTSP I can connect perfectly using
./openRTSP -t -4 -P 10 rtsp://888888:888888@192.168.1.82:554/stream2With myRtspClient I use
./complete_example rtsp://192.168.1.82:554/stream2, previously I am set username and password in complete_example.cpp.the response is:
The error is in line 2000 of rtspClient.cpp:
If I change
return CHECK_ERRORforreturn CHECK_OKThe new response is:
My RTSP knowledge is null.
Could you help me?
Thanks!