Creation of HTTP streaming server using .NET HttpListener

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm posting this in the general .NET forum because I'm not sure into which
subcategory this belongs. I've searched through the newsgroups and found many
posts related to audio/video streaming mainly using the Windows Media
Services.

I'm trying to create an HTTP server in C# (using HttpListener,
HttpListenerRequest and HttpListenerResponse) where I can stream videos to
potentially any media player that can stream via HTTP (WMP, RealMedia, VLC).
The reason why I want to do it this way is because I already have a stream in
the ASF format, so I just need to split it in packets and send it out. So far
I haven't been able to get a stream to work correctly primarily because I
wasn't able to setup the response parameters to what they'd need to be.
It seems that I either have to set the 'Transfer-encoding' to 'chunked' or
specify the content length.

Has anyone done anything similar to this with these classes or does anyone
know if that's possible at all?

Thanks.
 
Back
Top