2013-07-06 48 views
0

我正在開發一個動作p2p應用程序。一切都很好,直到今天。rtmfp - NetConnection.Connect.Failed - 不能得到什麼錯(卡巴斯基設置)

這是我的代碼:

  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-server地址是正確的。

我不明白爲什麼我總是有「NetConnection.Connect.Failed」。

我在網上搜索這個問題。可能的解決辦法是關閉防火牆。但它總是在我的電腦上關閉。

所以我不知道該怎麼辦...

有什麼建議嗎?

任何幫助appriciated!

編輯:好吧,我剛剛解決了這個問題。我得到卡巴斯基過期的許可證。所以我把它關掉,但沒有刪除。剛剛關閉。幾分鐘前我刪除了它,一切開始正常工作。但我仍然對卡巴斯基可以改變的設置感到好奇。所以問題仍然存在。

回答

0

好吧,這次似乎發生了漂洗。卡巴斯基無能爲力。 adobe cirrus服務器已關閉幾天。