How to find the size of video stream?
<p>Check my code where url is </p>

<blockquote>
  <p>rtsp://ip.worldtv.com:1935/live/</p>
</blockquote>

<p>To find the exact size of a video stream I use <code>HttpWebRequest</code>. But it is not working. I just get the size of a stream. Please suggest a solution.</p>

<pre><code>string sUrlToReadFileFrom = "rtsp://ip.worldonetv.com:1935/live/";

// first, we need to get the exact size (in bytes) of the file we are downloading
Uri url = new Uri(sUrlToReadFileFrom);
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
response.Close();
</code></pre>
