header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
amar
Points:210
Posts:11

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



1
Venus
Points: 0
Posts:0
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

2
Aslam
Points: 0
Posts:0
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.

3
MxMax
Points: 0
Posts:0
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

4
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


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 1+15+5 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions