anyone out there have experience with Flash Media Server?
I’m trying to stream an .flv (should be easy right?). I’m establishing a NetConnection and the NetStream.onStatus is tracing back that it’s playing but no video appears in my video object instance. @#%#$^#$!!!
The video object instance is one i created in the library>new video and then dragged to the stage and gave an instance name (vid1).
Here’s my very basic (at this point) code:
stop();
nc= new NetConnection();
nc.onStatus=function(infoObject){
trace(infoObject.code);
tracer.text=infoObject.code;
}
nc.connect("rtmp://64.192.171.116/streamTest");
ns = new NetStream(nc);
ns.onStatus=function(infoObject){
trace(infoObject.code);
tracer2.text=infoObject.code;
}
vid1.attachVideo(ns);
ns.setBufferTime(0);
ns.play("deafunion");
I set the dir structure up according to Media server documentation as far as the ‘streamTest’ folder being in the ‘applications’ folder (there is also an fms_2_applications folder in there so i duplicated the application in there as well as I wasn’t sure which folder FMS was looking toward) with a “streams” folder inside it and the ‘main.asc’ file as well. inside the streams folder there is a folder called “definst” with my .flv inside.
any help would be great as i’m thoroughly confused as to why something this simple is not working! It doesn’t work when testing in flash or when i upload to the server.
i’ll attach the .fla too.