FMS 3.5 / server/app1 -> netconnect -> server/app2 = NetConnect.Connect.FailedHello
Hello all,
I've hit a snag with my current FMS project and Im hoping someone out there might be able to help.
I have a working FMS server with two applications:
I'm trying to get application 2 to connect to application1.
I can connect to app1 if i write up a quick client in as3... i CANT seem to connect from FMS server side code in app2. ( which is what I require )
What am I doing wrong? Is there something on the server that I need to configure to allow this?
Do I need to specify something in one of the app's Application.xml files?
Thank you for taking the time to read this post, code is below:
other info:
my development server url looks like this: fms.internal.companyname.com
my netConnection.uri is simply "rtmp://fms.internal.companyname.com/app1"
running Flash Media Interactive Server 3.5
server is working. I can use live / vod / and some other custom apps that I've written so far. Just app to app connections aren't functioning.
I havn't done any other custom configuration to the server. Its all stock.
app1's code:
application.allowDebug = true;
application.onAppStart = function(){
trace("[ Booting up app1 ]");
}
application.onConnect = function( clientObj ){
trace("onConnect detected: ");
application.acceptConnection(clientObj);
};
application.onStatus = function(statusObj){
trace("onStatus detected: "+ statusObj);
}
app2's code:
application.allowDebug = true;
nc = new NetConnection();
nc.onStatus = function(infoObj){
trace(infoObj.code);
}
application.onAppStart = function(){
trace("[ Booting up app2 ]");
nc.connect( "rtmp://server/app1");
}
application.onStatus = function(statusObj){
trace("[ onStatus: "+statusObj+" ]");
}
