What is Video Streaming in .net??
varsha k
You're reading the entire file into a single buffer, then sending the entire byte array at once.You should read into a smaller buffer in a while loop.For example:byte[] buffer = new byte[4096];while(true) {int bytesRead = myStream.Read(buffer, 0, buffer.Length);if (bytesRead == 0) break;Response.OutputStream.Write(buffer, 0, bytesRead); }