title: rtsp authentication : digest
body: <p>I am trying to connect with a camera sending a RTSP stream, but I'm having some trouble with authentication. To begin with i was sending the message</p>
  
  <pre><code>SENDING MESSAGE:
   DESCRIBE rtsp://admin:password@192.169.1.100:554 RTSP/1.0
   CSeq: 100
   User-Agent: askapps server
  </code></pre>
  
  <p>And I got the response</p>
  
  <pre><code>RESPONSE FROM CAMERA:
   RTSP/1.0 401 Unauthorized
   CSeq: 100
   WWW-Authenticate: Digest realm="Login to OVP42739875923", nonce="ca0b6e51ff51c0cfbe523935da1a07dd"
  </code></pre>
  
  <p>Using links as wikipedia and <a href="https://stackoverflow.com/questions/17444635/rtsp-authentication-digest-issue">RTSP Authentication : digest issue</a>, I tried</p>
  
  <pre><code>SENDING MESSAGE:
   DESCRIBE rtsp://admin:password@192.168.8.100 RTSP/1.0
   CSeq: 1
   Authorization: Digest
   username="admin",
   algorithm="MD5",
   realm="OVP42739875923",
   nonce="ca0b6e51ff51c0cfbe523935da1a07dd",
   uri="rtsp://192.168.8.101:554",
   response="ce145f3e1e7d9827e1977d8f6b4c6c01"
  </code></pre>
  
  <p>Which simple resulted in the message</p>
  
  <pre><code>RESPONSE FROM CAMERA:
  RTSP/1.0 401 Unauthorized
  CSeq: 1
  </code></pre>
  
  <p>I was wondering if you could help? maybe if you have a link or something</p>