Thought this maybe usefull for those who maybe mobile streaming or anyone with bandwidth limitations.
Or other situations where you want more control over the stream.
What i have put together is a little package that controls the AE stream depending on who is actually viewing the webpage.
This assumes that you are useing a webhost that has PHP scripting, and useing the BATC plugin on your own website.
the software is in 2 parts:-
1/ is the main application that sits on the PC that is running the encoder.
2/ is the PHP script that sits on the webserver.
[webserver side] What happens is that when a visitor looks at your camera webpage the script creates a file with a timestamp.
[PC encoder side] The application picks up on this timestamp and tells the encoder to start streaming, after a period of time (10 minutes default) it will then stop the stream.
Effectivley we have changed the stream PUSH into an ON DEMAND. ( why stream if no-one is watching

Presently the software is version 1.5 and available at my site http://g1ugj.net
I am looking at expanding the software to give more control over the encoder.
73's