Skip to content

CheckAuth: error #33

Description

@mCr86

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions