dl
Joined: 28 May 2009 Posts: 7
|
Posted: Fri Nov 05, 2010 9:59 am Post subject: netstream |
|
|
Anybody plese like to post a working example how to use netstream ?
I tried it like this, but the stream is not found :
Code: |
public function doit ():void
{
// Initialize net stream
nc = new NetConnection();
nc.connect (null);
ns = new NetStream(nc);
client = new Object();
ns.client = client;
client.onMetaData = onMetaData_handler;
client.onCuePoint = onCuePoint_handler
ns.play ( 'http://<myurl>:8000/stream?type=.flv' );
}
|
|
|