Indy HTTP Server

Giganews Newsgroups
Subject: Indy HTTP Server
Posted by:  Eric (nospam@please.com)
Date: Mon, 27 Jul 2009

Hi

I currently use the Indy HTTP Server on some projects and I think that it is
great, but I need to do one thing that I don´t know how to do it with Indy

What I need to do is video streaming over HTTP, so, my client (Another
program I will make) will open an URL like http://myserver/video/camera1
My HTTP server will start sending data to my client.

The problem is that when we respond to the OnCommandGet event, we must put
all the data there and respond, I coudn´t find any place where I can get the
connection, keep it opened (After the OnCommandGet routine exit) and I keep
sending data to this connection, because the video streaming is live, so,
there is not fixed data to send, I´m sending video continously until the
user breaks the connection

Is there any way to do that?

Thanks!

Eric

Replies