all groups > macromedia flash flashcom > august 2005 >
You're in the

macromedia flash flashcom

group:

AM I STUPID? streamnotfound event not fired


AM I STUPID? streamnotfound event not fired ottocid
8/26/2005 12:28:23 PM
macromedia flash flashcom:
This is really weird, and happens in all the FCS servers i can access

When I try to play an unexistent stream no streamnotfound event is fired.

on the server side application streams tab i get that the "nonexistent" stream
is PLAYNG LIVE!!!!!!

New NetStream created (stream ID: 1).
Playing and resetting notexistent.
Started playing notexistent.

also on the app debugger i see this "nonexistent" stream playing

while on the client side I get the usual
Netstream.Play.Reset
Netstream.Play.Start

this happens with streaming. no problems with prog download.

WHY!!!!! please, anybody encounter this problem?
other methods to determine if a stream exists are too tricky
Is this a bug?

I'm getting crazy

P.S.
a sample code???

var nc = new NetConnection();
nc.connect("rtmp://myhost/videomail");
ns = new NetStream(nc);
ns.play("NOTHING");

and in the stream list of the app debugger i see the file
"NOTHING" playing live !!!!!
Re: AM I STUPID? streamnotfound event not fired madgett
8/31/2005 12:00:00 AM
I don't know where you are coming up with streamnotfound event, but it's
supposed to do what it's doing.

From the LiveDocs: If you pass -1 for start, Flash plays only the live stream
specified in whatToPlay. If no live stream is found, Flash waits for it
indefinitely if length is set to -1; if length is set to a different value,
Flash waits for length seconds before it begins playing the next item in the
playlist.

It has it's advantages as well, because if you are starting a video
conference, they automatically begin receiving a stream as soon as it's made
available.
AddThis Social Bookmark Button