Groups | Blog | Home
all groups > macromedia flash flashcom > january 2006 >

macromedia flash flashcom : Detecting if a live webcam is actually streaming


slongbons
1/30/2006 3:22:43 PM
I built a live webcam broadcaster and receiver using my Flashcom server and
http://www.macromedia.com/devnet/flashcom/articles/broadcast_receiver.html.

The webcam works fine. But I am having trouble detecting if a live video
stream is actually playing from my flashcom server. I am using the netstream
onstatus handler to check for "NetStream.Play.Start."

The problem is, even if the stream is not playing, or I enter garbage into
ns.play() I still get "Netstream.Play.Start" from the handler as long as there
is a valid net connection.

I want to show my users alternate content if the stream is not actually live.
Right now users just see a blank area if the stream is down.

Is there some other way to know if a stream is actually live from the flashcom
server? Perhaps there is some server code that I need?


Thanks!

JayCharles
1/30/2006 6:48:12 PM
slongbons
1/31/2006 7:17:05 PM
AddThis Social Bookmark Button