Settings for RTMP and AS 3.0

Posted by coderex on Stack Overflow See other posts from Stack Overflow or by coderex
Published on 2010-03-31T06:58:38Z Indexed on 2010/03/31 7:03 UTC
Read the original article Hit count: 688

Hi,

Is there any extra code need for using rtmp with AS3.

I have the code like this. Is that enough for rtmp or any other code needed?

var strSource:String = "rtmp://myserver.com/file.flv";
var ncConnection = new NetConnection();
var nsStream = new NetStream(ncConnection);
nsStream.play(strSource);

© Stack Overflow or respective owner

Related posts about flash

Related posts about rtmp