Actionscript rtmfp-NetConnection.Connect.Failed-can';我得不到什么';s错误(卡巴斯基设置)
我正在开发一个actionscript p2p应用程序。直到今天一切都很顺利 这是我的代码:Actionscript rtmfp-NetConnection.Connect.Failed-can';我得不到什么';s错误(卡巴斯基设置),actionscript,rtmfp,netconnection,Actionscript,Rtmfp,Netconnection,我正在开发一个actionscript p2p应用程序。直到今天一切都很顺利 这是我的代码: private function initConnection():void{ nc = new NetConnection(); nc.maxPeerConnections = maxPC; ExternalInterface.call("alert",maxPC);
private function initConnection():void{
nc = new NetConnection();
nc.maxPeerConnections = maxPC;
ExternalInterface.call("alert",maxPC);
nc.addEventListener(NetStatusEvent.NET_STATUS, ncStatus, false, 0, true);
nc.connect(SERVER_ADDRESS);
}
public function ncStatus(event:NetStatusEvent):void {
if (event.info.code == "NetConnection.Connect.Success") initSendStream();
else if (event.info.code == "NetStream.Connect.Closed") {
if (event.info.stream.farID) onPeerDisconnect(event.info.stream.farID);
}
else if (event.info.code == "NetConnection.Connect.Failed") ExternalInterface.call("p2pError", "conFailed")
else ExternalInterface.call("p2pError", "conFailedUnknown");
}
我总是让它工作。密钥和rtmfp服务器地址正确
我不明白为什么我总是使用“NetConnection.Connect.Failed”
我在网上搜索这个问题。可能的解决办法是关闭防火墙。但它总是在我的电脑上关闭
所以我不知道该怎么办
有什么建议吗
欢迎任何帮助
编辑:伙计们,我刚刚解决了这个问题。卡巴斯基的驾照过期了。所以我关闭了它,但没有删除。刚关掉。几分钟前我删除了它,一切都开始正常工作。但我仍然好奇卡巴斯基会改变什么样的设置。所以问题仍然悬而未决。好吧,这次似乎发生了共同沉积。卡巴斯基对此毫无办法。adobe cirrus服务器已停机几天