12/28/2009 3:47:22 AM
Title:
NetConnection.Connect.Failed
Hi All,
I am really in big prblm. i want to stream my video through RTMPE streaming (for swfVarification) but it is not working when i tried to connect i am getting error "NetConnection.Connect.Failed".
this is my code :
nc = new NetConnection();
nc.onStatus = function(ncObj:Object){
trace(ncObj.code);
if (ncObj.code == "NetConnection.Connect.Success") {
ns = new NetStream(this);
ns.setBufferTime(2);
screen.attachVideo(ns);
ns.play("sachin");
}
}
nc.connect("rtmpe://xyzz.rtmphost.com/flv/");
plz help me out.
i am using Flash player 9 and flash cs3.
and this code is working perfect in RTMP.
Thanks in Advance
Amar
12/28/2009 4:22:48 AM
to connect RTMPE You must have
Flash Media Server 3
Flash Player 9 Update 3 (9,0,115,0) atleast and not just flash player 9.
Other wise it wont work
12/28/2009 4:27:02 AM
If FMS sever is in your control then check the adapter.xml file in installation directory of flash media server. Verify if its enabled in adapter.xml file .
If you are using a hosting service then mail your FMS hosting company to know whether that provide RTMPE support. Usually service providers disable it to improve server performance.
12/28/2009 6:04:06 AM
Your code seems fine , there should not be any problem unless your are doing some mistake.
Check application directory
Check video file available there
Check fms version 3 required
Check flash player version 10 recommended
Check the feature is enabled there on FMS
amar
Points: 210
Posts:11
12/29/2009 2:52:54 AM
thanx to all,
RTMPE is working, actually i have to secure my video content from web.my video file is stored in FMS server.
and i have to stream it from FMS server so that user can not save this video either using replay software or stream capturing software.
and what is "swfvarification" ?
plz help me out.
thanks in Advance
Amar