Skip to main content
Known Participant
February 23, 2011
Answered

How to use FMS server

  • February 23, 2011
  • 1 reply
  • 3253 views

hi

     i m new to fms server.. hello world application is my first application.. i put my helloworld.asc into my

fms server (c://program Files/Adobe/FMS 4.0/applicaitons/HelloWorld folder/Helloworld.asc).. then restarted my server..

i  have my client app in my local system.. i m using rtmp://my  server/Helloworld to connect server..

while click my connect button i got this error

" sorry, the connection was rejected[ Server.Reject ] : (_defaultRoot_, _defaultVHost_) : Application (HelloWorld/_definst_) is not a valid signed application; loading access denied "

what is this?

can anyone give me step by step guide for how to launch app in fms server.. how to load applicaiton? how to create instance?

    This topic has been closed for replies.
    Correct answer SE_0208

    : (_defaultRoot_, defaultVHost) : Application

    (bandwidthcheck/_definst_) is not a valid signed application; loading access

    denied.

    undefined

    this is my error.. it tells not a valid signed application.. it

    means...........?


    This means that you have Streaming Server License and cannot use unsigned applications. You are bound to use only "live" & "vod" applications.

    If you want to try other applications just for learning purpose , you can install Developer Edition.

    1 reply

    Known Participant
    February 23, 2011

    Hi,

    You have to make a small change in your file name Helloworld.asc to main.asc. hope it should work.

    Dev_ComAuthor
    Known Participant
    February 23, 2011

    no same error only came.. i thought i am missing some steps in deployment... how to load application?

    what i did mean just i put myapplication.asc to /fms/applications/myapplication folder.. and restarted my server.. thats enough to run?

    Known Participant
    February 23, 2011

    package 

    {   

        import flash.net.NetConnection;

        import flash.net.NetStream;

        import flash.events.NetStatusEvent;

        import flash.display.Sprite;

        public class checkFmsConnect extends Sprite


        {
            private var nc:NetConnection;
            private var ns:NetStream;
           
            public function checkFmsConnect ()
            {
                // constructor code
                var rtmpUrl:String='rtmp:// url of the fms(ip)/myapplication';

                nc=new NetConnection();
                nc.addEventListener(NetStatusEvent.NET_STATUS,statusHandler);
                nc.connect(rtmpUrl);
            }
           
            private function statusHandler(evt:NetStatusEvent):void
            {
                trace(evt.info.code)
            }
           
        }
    }

    and with in myapplication folder you have to put main.asc file not myapplication.asc, also you can renaim this file but .asc file name should be main.asc,
    and with this code you can find out the status of the fms.

    you fms is with in local machine?