On FMS .asc file

Hello

Learn just Flash Media Server (however have a good experience with AS3.0.).

And I have installed FMS 3.5 trial version. and began with the first tutorial.

Here's my problem. I opened in my Flash CS3 environment the .fla file on the client side and the server side .asc file from the server (located in the folder applications/mytest course).

But whenever I make any changes in the .asc file and I save, does not change. I have to manually restart the FMS server and in effect, then Ctrl + Enter the .fla file shows me the change.

But... is this normal? Because I find quite irritating continually restart the local FMS server just to see a small update (not to mention that I have not check error code for the .asc file).

Thank you for your time!

Hello

You do have to restart FMS for all changes in the .asc file. Instead, you can unload the application from the administration console after the change in .asc and then run your .fla file to connect to FMS. This should reflect the changes made to the .asc.

You can find the administration console to install FMS directory\tools\fms_adminConsole.swf.

Give a name for FMS server, enter the IP address of the machine of the FMS.

Enter the admin ID and password. (You would have provided them at installation time or find it in install FMS directory/conf/fms.ini-> values if SERVER.) ADMIN_USERNAME & SERVER. $ADMIN_PASSWORD).

Click Connect.

If you are connected to an application on FMS, you would see that it loaded onto the console once you log in.

Now, once you have made changes to the app FMS .asc file, select the application and click "Unload this application" (label appears on mouse over) icon on the same line as the performance tab.

Please refer to http://help.adobe.com/en_US/FlashMediaServer/3.5_AdminGuide/WS5b3ccc516d4fbf351e63e3d119f2 926bcf - 7ff4.html for more information on the use of the administrative console.

Thank you

Mamata

Tags: Adobe Media Server

Similar Questions

  • connection failed when on my main.asc file .asc file loading

    Hey guys,.

    You have a very big problem here. I continue to get "NetConnection.Connect.Failed" when I load a .asc file on my main.asc file, I use the load() method in my code. I really don't understand why this happens, but when I comment the code that loads the CSA file, I can connect successfully to SGF. I can't understand what is happening here. BTW, I'm using fms4 in windows 7 32 bit.

    Any response is truly appreciated. Thanks in advance!

    Randy

    You can download the installer of FMS 3.5 and install it on a different machine and copy the folder I mentioned, and then remove the installation or if you want I can send that Opposite 3.5.3 installation I - give me your email id - I'll send it everywhere if you want.

  • ASC file in 2D array of Boolean

    Hey guys,.

    I was wondering if there is a method to download a *. CSA or *. DAT file to convert it to an array of Boolean 2D.

    For example, I would create a .asc or .dat file composed of strings using MATLAB to generate

    1 1 0 1 1 0 1 1

    0 1 0 0 1 0 0 1

    1 0 0 1 0 0 1 0

    and it would be to convert the string to an array of Boolean 2D of

    T T F T T F T T

    F T F F T F F T

    T F F T F F T F

    while I can ultimately use it to create a digital waveform graph changed like this:

    The goal is because I use the sampling frequencies of 0.1 second interval that spans 2-5 minutes.

    So to summarize:

    1. download a *. CSA or *. DAT file with a 2-D array of strings

    2 convert the file to create a Boolean matrix 2D to use create digital waveforms

    Any help will be appreciated. I know it's not much but I downloaded the table 2D to waveform *.VI for testing purposes.

    sdkpark wrote:

    However, when I tried first, he doesn't know how to separate each column in the *.asc file

    1 0 0 1 0 0

    0 1 1 0 1 1

    It turns out only to read the first column

    Please attach your VI instead of an empty image of sense.

    Reading spreadsheet file will read all the data if used 2D correctly. The defined delimiter is separating the elements and line break between the lines. For example, if you do not wire the delimiter, it will assume "tab" and that a single value is read by line if it's actually a space character. Try a delimiter of the 'space '.

  • Writing in the FMS log file

    I want to write in the log FMS of a rule. The following code works from the script console:

    println "output from test '.

    However when I put this in the rule condition I get no output in the log of the FMS. I do something wrong or isn't it possible? Or is there a better way please let me know.

    Thank you

    Kris

    Yes, it is possible to write in the FMS log within a rule or an expression of varying severity. As long as your logic is called in the rule condition, you should see the output in the FMS log file.

    David Mendoza

    Foglight Consultant

  • Where should I place main.asc?

    Hi ~ all.

    I placed the main.asc in /FMS/webroot/main.asc

    It does not work.

    so I put here.

    / FMS/Webroot/MyApplication/hand. CSA

    This also does not work.

    The path is correct?

    How FMS can recognize main.asc file?

    Thanks in advance.

    To connect to an application, the server must know that there is a demand. This process is called registration request to the server. To register an application with the server, create a folder of application in the applications folder. For example, create the following folder to save an application called "MyApplication":

    RootInstall/applications/myApplication

  • Lock code FMS

    Hello

    Does anyone has idea to lock in the code side FMS server. As we locking system in Coldfusion and other technologies (SEE lock).

    As we shared objects, lock, but what if I want to apply the lock on the particular script. For example to any user of FMS onConnect, I have the script that makes 8-9 different tasks before or after you accept the user for this session of FMS application (including remote access calls).

    Now if 20 users came at the same time in the same room, how do I FMS run them and treat the task of 8-9, which the user will be executed first and who might be next.

    In short, how FMS will perform the piece of code or process for multiple users at the same time.

    This locking system may fix this problem I think.

    Is there anything else we can do to improve this system.

    Looking forward to help in this area. If there are no experts please suggest the best solution.

    Thank you

    Amitabh Arya

    Hello
    > Right, having limited the logic on the client side will be the right choice.

    > Intend why I proposed the second solution is if you have any variables

    who are declared globally (I meant the usual "global" concept OOPS property)

    which are exposed in the functions and are used by several customers in even

    time. Any variables you use in the code on the server that are side

    shared by clients during simultaneous calls. Taking you example, you have

    to make a remote call to a database or something else. Is your remote call or

    database is able to manage simultaneous calls? If Yes, then for your case the

    1st solution is perfect. As you mentioned, keeping the huge number of customers

    waiting will not fit your case.
    FMS maintains a unique ID for each client connected to the server that is

    called "clientID". This value may not be unique across clients connected to

    different fmsCore processes, but it is certainly unique for customers in a

    basic process. YES using this ID, you are sure that you can find the right customer.

    Now back to the first solution... a simple example of 3 customers

    the connection to the server at the same time... how they treat the side Server

    code.

    application.onConnect = {function (clientObject)}
             
    {clientObject.method_1 ()}
    clientObject.method_2 ();
    }
     
    {clientObject.method_2 ()}
    clientObject.method_2 ();
    so now
    }

    clientObject.method_1 ();
      
    application.acceptConnection (clientObject);
    or application.rejectConnection (clientObject);
    }
    }

    3 clients are connecting to the server at the same time. They all call

    onConnect method with regard to the objects of their client. If the method_1,.

    method_2 that are defined on the side server is instantiated for all 3

    clients. So that they have their own methods of works with. Inside these methods.

    If we have statements that make calls to remote, all 3 customers will make the

    remote calls at the same time. IF your database should be able to handle several

    customers at the same time. If so, this approach will fit your case. If no

    operation we have will be the client object, so that makes the

    difference in the FMS server with its good customer interaction.

    Where did you get the file secure.asc from? I don't know about such a file in fms. He settled with FMS or is your custome asc file in your application?

    Kind regards
    Janaki L

  • How can I force FMS to recompile/refresh/stop caching

    Today, I wrote my first application of FMS, and I copied it into the directory that I did for her under 'applications' and it worked fine. So I started to edit it and it accumulate in what I need to be, but it does seem like one of my changes are reflected. I checked the main.asc file and this is the updated version... However when I connect via netconnection, it seems that the server is cached the old application. What should I do?

    Which should not happen at all. The application compiles only when the instance of the app is started (or restarted).

    After a period of no activity client, application instances will stop themselves... that might have been what you experience.

  • [Help]! Do the CSA file cache?

    Hello!

    I have installed on my machine of the developer version of 3.x FMS and it works very well... until... I have started using the CAD files.

    As long as I'm with the code on the client side, I have no problems. For some more functionality, I had to use a CAD file. To test the connection, I created an ASC file that has the following code:


    application.onAppStart = function() {}
    this.allowDebug = true;
    }

    application.onConnect = {function (customer)}
    application.acceptConnection (client);

    client.callFromClient = {function (clientStr)}
    Return "Hello" + clientStr;
    }
    }

    If I do any changes to the code above, it does not reflect until I restart my FMS server. For example, if I'm changing the return "Hello"... go back to 'Hi '... I need to restart the FMS to see Working!

    Pls help!

    This behavior is expected, as FMS compiles the application during execution. In the case of main.asc, you must restart the instance of the application for the changes to take effect. You don't need to restart the server, you can use the FMS Management console to restart the instance of the specific application.

  • Mysteriously missing Main.asc

    Any of you ever heard of a "mysteriously" deleted main.asc file to the application directory?

    I am working on a client project that grew on an internal server to Fedora Core 5 where I had installed FMS. I downloaded the video stream to the client and coded main.asc for two different applications. One of them, the bigger of the two, had code very important here that took me several all-nighter to get right.

    Long story short, that the project has been put on hold for a while and now I'm taking another look and move it to a live server on the internet. In doing so, I am seeing that the main.asc file I wrote for one of the projects is simply DISAPPEARED, as it is never existed. The other application is fine, intact, but the more important of the two has another strange twist: a directory called "http" that I never created. Inside there are some streams (places in their own subdirectories) of the directory of "flow" of the application that I never transferred into it. And of course, as I said, the main.asc file is simply disappeared.

    Looking at the logs don't give me any information (which resembles newspapers just turned a day or two ago). Does anyone have any ideas how I can find:

    (a) how the hell this was deleted,.
    (b) if there is a backup somewhere on the system (already tried updatedb/locate main.asc, no help)
    (c) how can I prevent it from happening again

    Thanks in advance for any help you can provide.

    Thanks for your input Jay. The only conclusion I can reach is that it must have human error. I crossed ~/.bash_history did a search for all regarding main.asc and found that instead of "cp", I used 'mv' to MOVE the file to another location. Unfortunately that site has been cleaned up a bit more than a month, so the only copy of the file deleted.

    My main concern was that FMS is somehow, but now that we have excluded this possibility, and now that I know how/why the http directory has been created, I'm 'OK '.

    Once again, thank you for your help. I feel like a fool, but, you know... I have to lower my pride somehow ;-)

  • What does .asc in script?

    Hello

    I hjave a script in which it is said to open channel.asc and writing. What it means? where is he going to create this .asc file? What is the necessitty to do so?

    Here is the script below. Please one let me know why is this necessary?

    Void channel_asc
    AUTODRVUSER = AUTODRVUSERTMP_

    Call FILEOPEN (AutoDrvUser & "Channel.asc", 0)

    Call FILEWRITELN (AutoDrvUser & "Channel.asc", 1, "")

    L1 = 1

    Do L1<>

    If CHNNAME (L1)<>"" then

    Call FILEWRITELN ("Channel.asc", 1, CHNNAME (L1))

    On the other

    L1 = ACTCHNNO

    End If

    L1 = L1 + 1

    Loop

    Call FILECLOSE ("Channel.asc")

    AUTODRVUSER = AUTODRVUSER_

    End Sub

    Thanks in advance.

    Rsh

    Hi, RSH,.

    The script you posted is one thing only - creates a new file called "Channel.asc" and filled it with the names of all the channels currently in the tiara.  The "Channel.asc" file is created in the directory stored in the variable "AutoDrvUser", which is the old variable that stores the current default directory for reading and writing data files.  It usually contains the folder that you loaded changed a file of data (interactive mode).  *.Asc file extension means ASCII, which means a text file, which it is.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • 4.5 with apache centos 6.3 already installed FMS

    Hello first Sorry for my bad English, I speak French ...
    I managed install FMS 4.5 on my centos 6.3 Server. By cons I had Apache so I have not installed Apache FMS included.

    On my CentOS Server, I already have WHM et cpanel. I do not understand How to set up my existing Apache to run with fms. And I don't know all the How to check If my FMS installation is correct because I cannot access to the Administration console ....

    Will be explain for me a little Please ?

    The FMS apache just works by default on port 8134. Listening on port 80 and forwards FMS web connections to the server on port 80 to port 8134. You can change this in the fms.ini file. You should not have FMS listening on port 80 or ask apache to listen to port 8134.

    If it's not useful, you must explain to "configure my existing apache to run with fms" more far.

  • Access to multimedia files from another server problem

    Currently I am working in a project with streaming video on-demand and using FMS 4.5 .


    " Say the FMS is installed on a machine say ' 121.123.35.34 ' and there is another server"100.54.88.222". where all media files belong Now we need point to this third-party server to play videos of FMS. I did the changes below:

    In the fms.ini file: set VOD_DIR2 = \\100.54.88.222\myvideos

    In the application.xml: added stream: streams >/HR; ${VOD_DIR2} < / flow >

    My request for access to the path of the flv as: source = "rtmp: / / 121.123.35.34:1935/vod/hr/test. Not able to access the video.


    Note: If I say "C:hrvideos" in VOD_DIR2, then I'm able to access videos using the same URL.


    I also tried mapping the path shared the machine to the FMS and then saw the drive mapped path in the VOD_DIR2, but it does not work.

    Please let me know:

    1. If we set up any other parameter videos from another server.
    2. VOD_COMMON_DIR: I modified this similar to VOD_DIR in the directory "C:hrvideos", I am able to stream videos with http, rtmp, but not the jet of abl eto.

    Please let me know we can disseminate via http too as we need to run the f4m manifest file.

    http://121.123.35.34:8134/vod/hr/sample.mp4.

    http://121.123.35.34:8134/vod/hr/sample. F4M


    Thank you

    Anjali

    Hello

    For RTMP: Try mapping to another server.

    For HTTP: Yesy you can change the DocumentRoot directive, but then it will search for content in this folder for all types of applications and not just HDS VOD.

    To configure only HDS - VOD, positioned on the HttpStreamingContentPath:

    Change this HttpStreamingContentPath '... / webroot/vod " to HttpStreamingContentPath" C:/hrvideos "

    Note that the location is now absolute and oblique. Likewise, you can put in a network address.

    Thank you

  • Application has permissions to add/file server-side streams

    I installed the FMS on Linux.  I'm trying to record video from webcam to a flex application and save them server side, to a possible posting to YouTube.

    I installed the 'live' application in the path "record".  In my flex code, I do:

    NC. Connect ("rtmp://ipaddr.us-west-1.compute.amazonaws.com/live/record");

    It connects very well, so I have:

    NS. Publish ("camtest", "record");

    It fails with NetStream.Record.NoAccess.  Server side, he said

    Accepts a connection from IP:xx.xx.xx.xx, sponsor:, pageurl:
    Application does not have permissions to add/file server-side streams; access denied to the camtest stream.

    I have LIVE_DIR in my conf/fms.ini file in/mnt/live.  This directory exists and is writable, so I'm not sure what's going on.  Are there any other permission that I'm missing?  Is it just the wrong application?  That you used for registration of netstream?

    Thank you

    -jsd-

    Hello

    Since you are using the developer version, you should be able to record. Just check the permission of the directory of the application that you created. Make sure you have permission to write to it.

    Thank you

    Abhishek

  • Failed to load application instance publishLive/live.

    Full registry error is (_defaultRoot_, _defaultVHost_): failed to load application instance publishLive/live...  Flash Admin Server and Flash Media Server running on the local computer.  During the test I get [NetConnection object]: NetConnection.Connect.Failed.  When I delete the main.asc file it works... What is happening out there?  I got this job at a time... my main.asc is below.

    var nc;
    var ns;
    NSR var;

    Called when a client connects
    application.onConnect = {function (customer)}

    accept the new connection to the client
    application.acceptConnection (client);

    Send a message
    trace (client.id + "is connected");
    }

    Called when a client disconnects
    application.onDisconnect = {function (customer)}
    trace (client.id + Date()) "disconnection at"+ new; "
    }


    Called when the client publishes
    application.onPublish = function (client, livestream) {}

    trace (livestream.name + "publishes on request" + application.name);

    This is an example of using the publishing feature multipoint to republish
    stream to another instance of the application on the local server.
    If (application.name == ' publishLive/live') {}

    trace ("republish the ustream stream");

    NC = new NetConnection();
    NC. Connect ("rtmp://1.616528.fme.ustream.tv/ustreamVideo/616528");

    NS = new NetStream (nc);

    called when the NetStream server has a status
    ns.onStatus = {function (info)}
    trace ("stream status:" + info.code)
    If (info.code == "NetStream.Publish.Start") {}
    trace ("publishes the stream");
    }
    }

    ns.setBufferTime (2);
    NS. Attach (livestream);
    NS. Publish (livestream.name, 'live');
    }
    }

    application.onUnpublish = function (client, livestream) {}
    trace ("cancellation of publication is" + livestream.name);
    }

    REGISTRATION
    application.onAppStart = function() {}
    This.NSR = Stream.get ("livestreamSS");  "<-this is the name of the instance of server-side"
    This.nsr.Play ("livestream",-1, -1);          "<-this is the name of the instance published"

    this.nsr.onStatus = {function (info)}
    If (info.code == "NetStream.Play.PublishNotify") {}
    application.startRecording ();
    }
    If (info.code == "NetStream.Play.UnPublishNotify") {}
    application.stopRecording ();
    }
    for (var I in info) {}
    trace ("i:" + i);
    trace ("info [i]:" + info [i]);
    }
    }
    }

    application.startRecording = function() {}

    infoObject var = Stream.getOnMetaData ("livestream");

    trace ("metadata for mavideo.flv :");

    for (i in infoObject) {}
    If infoObject [i] == {"record"
    trace ("start recording");
    This.NSR.record ();
    }
    }

    }

    application.stopRecording = function() {}
    trace ("stop recording");
    This.NSR.record (false);
    }

    In your FMS installation directory, look in the newspapers/_defaultVHost_/publishLive and see if there are errors in the files applicationXX. If there is a syntax error in your code, it will appear here.

  • Two very simple questions: the WSSF v/s FMIS feature

    People,

    I looked around the site for a while now, and the differences between FMS and FMIS are often very unclear, and I have a few direct questions on the capabilities and I need to what version of FMS.

    1 is WSSF able to incorporate custom players or requires as FMIS?

    2 able WSSF authentication request (username/password standard name) before starting a stream or requires as FMIS?

    We get earlier to a point of purchase of our server, but put requirements in one of the two products is difficult.

    Thanks a lot for the people a helping hand a noob.

    Among other things, the most notable difference is the WSSF version cannot use custom server side of script for example the main.asc file. It comes with "Signed Adobe" ready to run Live & VOD services/applications that cannot be changed.

    -WSSF will support swf player/custom client as long as your custom client requires no special help from the logic on the server side.

    -WSSF cannot help with the prompt for authentication, however, I'm guessing. It should be possible using workarounds as
    -authentication of swf
    - and your swf authentication using other servers over http / php scripts.

Maybe you are looking for