Hi
I am trying to setup RTSP/RTP tunneled via HTTP. I have sent the request below
GET /axis-media/media.amp?videocodec=h264 HTTP/1.1
Host: 169.xxx.xxx.xxx
Cache-Control: no-cache
Connection: Keep-Alive
x-sessioncookie: 123456789
Authorization: Digest username="root", realm="AXIS_00408C943C65",
nonce="00001c86Y8265782d13f595995eddef04419da03a5abc5",
uri="/axis-media/media.amp?videocodec=h264", response="32ae033bc3a5d10c67efd8c2246716cf",
qop=auth, nc=00000001, cnonce="de29e2a5683f6d43d65435a99ccba54a"
GET /axis-media/media.amp?videocodec=h264 HTTP/1.1
Host: 169.xxx.xxx.xxx
Cache-Control: no-cache
Connection: Keep-Alive
x-sessioncookie: 123456789
Authorization: Digest username="root", realm="AXIS_00408C943C65",
nonce="00001c86Y8265782d13f595995eddef04419da03a5abc5",
uri="/axis-media/media.amp?videocodec=h264", response="32ae033bc3a5d10c67efd8c2246716cf",
qop=auth, nc=00000001, cnonce="de29e2a5683f6d43d65435a99ccba54a"
To copy to clipboard, switch view to plain text mode
and the server responds with the result that is not carried by HTTP but is in the TCP
segment data show below:
HTTP/1.0 200 OK
Content-Type: application/x-rtsp-tunnelled
Date: Thu, 21 May 2009 17:54:42 GMT
HTTP/1.0 200 OK
Content-Type: application/x-rtsp-tunnelled
Date: Thu, 21 May 2009 17:54:42 GMT
To copy to clipboard, switch view to plain text mode
The QHttp seems to be waiting for a HTTP protocol carried "200 OK" message and for some reason cannot see the TCP tunnelled "200 OK" message (waveshark can!!).
I made sure the QAuthenticator was working by deleting the "x-sessioncookie: 123456789" content. When I do this, the server uses HTTP protocol to carry the "200 OK" message and my code proceeds, but without getting tunnelled RTSP setup.
Any thoughts on how to get the Authenticator to see the tunnelled HTTP 200 OK message?
Thanks
Bookmarks