onMetaData method of the netStream object:

var nc:NetConnection = new NetConnection();
nc.connect("rtmp://localhost/oflaDemo");
var ns:NetStream = new NetStream(nc);
ns.> {
    trace(obj.duration);
}
ns.play("myVideo");

hth,

JG

On 8/4/06, Daniela Remogna < [EMAIL PROTECTED]> wrote:
Hi!
I've a very quick question....
How can I retrieve from red5 server the length of a stream(flv file)?
 
Thanks in advance!
 
Daniela Remogna
 
 

_______________________________________________
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

Reply via email to