Hi,
The problem's is that i receive only NetStream.Buffer.Full and NetStream.Buffer.Empty events.
The code is simple.
var my_conn:NetConnection = new NetConnection();
my_conn.> var ris = "";
for (var i in info) ris += i+":"+info[i]+" ";
trace("> NetConnection: "+ris);
}
my_conn.connect("rtmp://10.0.1.98:2935/oflaDemo");
var my_stream:NetStream = new NetStream(my_conn);
my_stream.> var ris = "";
for (var i in info) ris += i+":"+info[i]+" ";
trace("> NetStream: "+ris);
}
my_stream.> var ris = "";
for (var i in info) ris += i+":"+info[i]+" ";
trace("> onPlayStatus: "+ris);
}
my_stream.> var ris = "";
for (var i in info) ris += i+":"+info[i]+" ";
trace("> onMetaData: "+ris);
}my_video.attachVideo(my_stream);
my_stream.play("prova");
2006/7/5, John Grden <[EMAIL PROTECTED]>:
Have you received NetStream.Play.Stop?
one thing that makes this easy is, put xray in your app. Then, in your onStatus, just xray's trace to see what the info object's properties are:
private function onStatus(evtObj:Object):Void
{
if(debug) _global.tt("Stream.onStatus", evtObj.code);
_global.tt() is Xray's trace method. Just send arguements - any complex object will be fully traced out for you.
hth,
jg
On 7/5/06, Moreno Balcon < [EMAIL PROTECTED]> wrote:Hi,I' m just try the last version from the repository, i have made a simple flash that call a video in red5, but ... how i can seethe end of a video ? I receive only NetStream.Buffer.Full and NetStream.Buffer.Empty as stream events...Thanks,Moreno
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
--
John Grden
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
