RTSP Return 401 (unauthorised)
<p>I am trying to fetch cctv video in my <code>iPhone</code> App. But I am getting <code>401 (unauthorised) error</code>. I read that this error is related to username and the password. But when I inquired with the concerned person he said that the camera do not have any password. Only username has been set. <strong>I have the following link with me to run the video:</strong> </p>

<blockquote>
  <p>rtsp://admin@ip:port/videoMain</p>
</blockquote>

<p><strong>Please note</strong>: When I tried running the same in <code>VLC player</code> it ran successfully but same when I am accessing through code I am getting <code>401 error</code>. </p>