I have per-recorded .flv file, Now I want to play this video on Flash Media Server.I created a folder name "sampleApplication" in my directory C:\Program Files\Adobe\Flash Media Server 3\applications\ directory. Now I write code to make connection
netConnection.connect("rtmpt://localhost:1935/sampleApplication");
netConnection.addEventListener(NetStatusEvent.NET_STATUS, checkConnection);
In checkConnection listener I check that my connection is perfectly working and then i code to play the video
netStream = new NetStream(netConnection);
vid = new Video(300, 300);
vid.attachNetStream(netStream);
videoPlayer.addChild(vid);
netStream.play("sample");
video is not going to be played... what is problem..Urgent help required? Thanks in advance!!
Try put your sample.flv to C:\Program Files\Adobe\Flash Media Server 3\sampleApplication\streams\_definst_\
folder