
var vid:Video = new Video(50, 38); addChild(vid); var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); vid.attachNetStream(ns); var listener:Object = new Object(); listener.onMetaData = function(evt:Object):void {}; ns.client = listener; ns.play(“externalVideo.flv”);
I figured out I needed to change this line:
nc.connect(“rtmp://mystreamserver.com/live/livestream.flv”);
- but what else do I need to do?
Also, I do not want the sound to be heard. How would I do that?
If you would like to make a comment, please fill out the form below.
Recent Comments