Skip to main content
Sunil Kumar Sah
Inspiring
April 6, 2010
Answered

Reason for NetConnection.Connect.Close

  • April 6, 2010
  • 1 reply
  • 6462 views

Hi

    I am using the EdgeCast Flash Media Server to play streaming video. In my office most of the time I am getting the message NetConnection.Connect.Close and video stop working but same time I can play the other streaming video like mtv.com jaman and other Flash media server files I can play on their site. When I am not able to play video due to NetConnection.Connect.Close, at the same time my friends can play video from outside my office premises and reigion.This problem I am facing in begining of the video as well as in the middle of the video also.

Our office Network administrator has not found even a single problem in network so not able to diagnos the problem.It would be better if you can send me the reason why NetConnection.Connect.Close happening in the middle of the video along with your suggession.

I am using the single parameter in NetConnection.Connect("Conn Url");

Please suggess me what I have to do.

Thanks & regards

Sunil Kumar

    This topic has been closed for replies.
    Correct answer

    I am using FMS 3.5 and doing swf URL verification.

    Thanks

    Sunil


    Are you sure you are using the same SWF to connect to FMS which you have placed on server-side for SWF Verification?

    Are you on Flash Player version 9.0.115.0 or above?

    Would you be able to see FMS logs, if so does the application.00.log for the FMS app that you are connecting to have any trace which says "SWFVerfication failed" when you try to connect?

    Thanks

    Mamata

    1 reply

    April 6, 2010

    Hi,

    I think your query is more specific to streaming service provided by EdgeCast with their deployment of Flash Media Server.

    So it's tough to know why your connections might be closing out while the video is being played out without knowing how the FMS is configured or without having access to check it's logs.

    Maybe you should try checking with them as they have all the internal information to help debug the issue you may be facing.

    Thanks

    Mamata

    Sunil Kumar Sah
    Inspiring
    April 7, 2010

    Hi

        Thanks for your replay, actually there is not any issue in server side. Can you please tell me what are the cases when NetConnection.Connect.Close occurs. I have tried my level best but not able to get right answer till now. Is there any other settings required inside the flash file?

    I am doing SWFs verification on EdgeCast Server to play content only in verified swf file so do you think that it may be an issue of swf verification. If you have any reference of how SWF verification works, please tell me that.

    Thanks

    Sunil kumar

    April 7, 2010

    Hi Sunil,

    Yes when you do not use the right SWF to connect to FMS, SWFVerification would fail and result in NetConnection.Connect.Closed for the connecting client.

    Would you be able to tell me which FMS version you are on?

    And what are the settings you have made for SWFVerification?

    Thanks

    Mamata