FMS server netconnection class

Im using fms server 4.5 for my application. I am connecting the fms server using the netconnection.connect() method. This method returns a success status immediately when the connection with fms server is made. But if there is a failure in connection, it is taking too much time to return the failure status. The reason might be the connect() method is trying 3 or 4 times to connect with the server. Is there any way to limit the number of times the method is trying to connect with the server? So that the delay in showing the status message can be minimised.

To reduce the delay you can try disabling aggregate messages.
You need to set Streams/EnableAggMsgs in Server.xml and Client/AggregateMessages in Application.xml to false.
See more about Aggregate messages here : http://help.adobe.com/en_US/flashmediaserver/configadmin/WS5b3ccc516d4fbf351e63e3d119f2925 e64-7ff0.html#WS5b3ccc516d4fbf351e63e3d119f2925e64-7feb
Hope this helps.
Thanks,
Apurva

Similar Messages

  • How to connect directly to FMS server

    Hi,
    Is it possible to connect directly to FMS server with NetConnection
    and connect to video with NetStream ?
    I see that in debug mode can see the RTMPS connection of FMS server,
    So I try successfully connect to this RTMPS connection,
    But I don't know what is the STREAM NAME of the video (WebcamPublisher).
    Thanks,
    Eyal.

    Hi Nigel,
    I developed the ChatVideo (http://www.chatvideo.co.il) that use the Adobe LiveCycle Collaboration Service.
    Now I want to develop a version to iPhone.
    To do this I used WOWZA servers - I set up the WOWZA server to edge and he take the stream from the Adobe FMS origin server,
    And on the fly the WOWZA server produce M3U8 link that can view in the iPhone.
    Are you know a other way to do this?
    Thanks,
    Eyal.

  • What is an "active connection" to the FMS server?

    Hi,
    I am wondering exactly what are considered "active connections" to an FMS server?
    Is it only the RTMP/RTMFP NetConnections, or do NetStreams also count?
    Thanks

    Only netConnections. You can't connect a netstream without a netconnection so they don't count on the connection count number.

  • Listing files on FMS server @ client

    Hi Everybody!
    I want to show list of FLV files placed on FMS server. do u
    guys have any sample code for that. Looking forward for reply!
    thanks.

    Amitpal,
    Here is a server side class that list files in 3 ways.
    getFiles just returns the content of the folder specifiec.
    showFileList returns the content of a folder listing it's
    sub-folders and content as an object.
    listFiles just returns the recursive sort of the folder.
    function FileManager()
    trace("#FileManager# constructor");
    FileManager.prototype.getFiles = function(p_client, p_path)
    trace("getFiles Called");
    trace(p_path)
    var fileList = new File(p_path);
    var temp = fileList.list();
    return temp;
    FileManager.prototype.showFileList = function(p_client,
    p_path)
    this.fileList = {folders:"", files:""};
    this.folders = new Array();
    this.files = new Array();
    this.listFiles(p_path, true);
    //for(j=0; j<this.fileList.length; j++){
    // trace(this.fileList[j]);
    this.fileList.folders = this.folders;
    this.fileList.files = this.files;
    return this.fileList;
    FileManager.prototype.listFiles = function(path, listsub)
    var curFolder = new File(path);
    var files = curFolder.list();
    for (var f=0; f < files.length; f++) {
    if (files[f].isDirectory && listsub == true) {
    this.folders.push(files[f].name)
    //this.listFiles(files[f].name, true);
    } else {
    this.files.push(files[f].name);
    // main.asc file
    load("FileManager.asc");
    application.onAppStart = function()
    this.fileManager = new FileManager();
    // FileManager Call *from Peldi
    Client.prototype.fileManagerCall = function(p_method)
    var fileMgr = application.fileManager;
    if (fileMgr[p_method] == undefined) {
    trace("ERROR: this.fileManager." + p_method + " method not
    found");
    return false;
    } else {
    var params = new Array();
    params.push(this);
    for (var i=1; i<arguments.length; i++)
    params
    =arguments;
    var res = fileMgr[p_method].apply(fileMgr, params);
    return res;
    //client side
    // onConnect event handler for NetConneciton
    public function onConnect(evt:Object)
    __nc["Application"] = this;
    var resultObject = new Object();
    resultObject["owner"] = this;
    resultObject.onResult = function(returnValue){
    //set client side object
    this.owner.__fileList:Object = {};
    this.owner.__fileList = returnValue;
    this.owner.dispatchEvent({type:"connectSuccess",
    nc:this.owner.__nc});
    // Call fms passing the video folder as a path
    __nc.call("fileManagerCall", resultObject, "showFileList",
    "folderOfVideos");
    // a setter method to store the fileList
    public function set fileList(p_list):Void
    __fileList = p_list;
    var foldArr = [];
    for (var i = 0; i<__fileList["folders"].length; i++) {
    foldArr.push(getFolder(__fileList["folders"]
    this.lessonArray = foldArr;
    var vidArr = [];
    for (var j = 0; j<__fileList["files"].length; j++) {
    vidArr.push(getFile(__fileList["files"][j]));
    this.videoArray = vidArr;
    // helper methods
    private function getFolder(p_folder):Object
    trace(p_folder)
    var foldObj = {label:"", data:""};
    var filePath =
    p_folder.substr((p_folder).lastIndexOf("/")+1);
    foldObj.label = filePath;
    foldObj.data = p_folder;
    return foldObj;
    private function getFile(p_file):Object
    var vidObj = {label:"", data:""};
    var vidFilePath = p_file.substr((p_file).lastIndexOf("/")+1);
    var vidFile = vidFilePath.substr(0,
    vidFilePath.indexOf("."));
    vidObj.label = vidFile;
    vidObj.data = vidFile;
    return vidObj;
    Hope this helps...
    Shack

  • How to use server-side classes in a web service proxy client ?

    Greetings,
    I'm using WebLogic 10.3 with Workshop 10.3 on Windows. I generate a Web Service client in Workshop. There are two options in the New->Others->Web Service category: ClientGen Web Service Client and Web Service Client. I've chosen the second one as it's a JAX-WS Web Service and I think that the first one (ClientGen Web Service is to be used with JAX-RPC Web Services. The proxy is generated but, since the Web Service is using POJOs as parameters, a new version of these POJOs is also generated. For example, my Web Service has an operation like: public OrderStatus putOrder (Order), where OrderStatus and Order are application scoped POJOs. The proxy generation process generates a _PortType class which is supposed to be used by the calling client. This class defines an operation public OrderStatus putOrder(Order), but the OrderStatus and Order classes aren't the original ones but the generated ones. The issue is that these generated classes aren't completely equivalent to the original ones, for examples all lists become arrays, the constructors are different, etc. This is extrememly annouying. Is there any option to say to the proxy generation process to keep with the server-side classes ?
    many thanks in advance for any help.
    Nicolas

    The only solution to this problem seems to be using dynamic proxies. But it doesn't work neither as the following code:
    Service service = Service.create(new URL("http://localhost:7001/OrderServiceProject/OrderService?WSDL"),
    new QName("http://www.simplex_software.fr/demo/services", "OrderService"));
    OrderService orderService = service.getPort(new QName("http://www.simplex_software.fr/demo/services", "OrderServicePort"), OrderService.class);
    raises the following exception:
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass
    INFO: Dynamically creating request wrapper Class fr.simplex_software.demo.services.jaxws.PutOrder
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass
    INFO: Dynamically creating response wrapper bean Class fr.simplex_software.demo.services.jaxws.PutOrderResponse
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass
    INFO: Dynamically creating request wrapper Class fr.simplex_software.demo.services.jaxws.GetOrderStatus
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass
    INFO: Dynamically creating response wrapper bean Class fr.simplex_software.demo.services.jaxws.GetOrderStatusResponse
    Exception in thread "main" java.lang.IllegalArgumentException: fr.simplex_software.demo.services.OrderService is not an interface
         at java.lang.reflect.Proxy.getProxyClass(Proxy.java:362)
         at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:630)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:331)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:313)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:295)
         at javax.xml.ws.Service.getPort(Service.java:92)
         at fr.simplex_software.demo.client.OrderServiceClient.main(OrderServiceClient.java:23)
    As a matter of fact, fr.simplex_software.demo.services.OrderService is not an interface but, nevertheless, it's a SEI and it was generated as it is by the IDE Web Service wizard. Big, big confusion ! Of course, this sample works perfectly with Metro, in NetBeans using Glassfish.

  • Unable to stream SMIL files unless the html page, swf file and the smil ffile are on the FMS server.

    When I place the .swf, smil and http files on the FMS server the SMIL stream test sample works fine
    But When I move the files to my web server I get Connection error.
    This is the same issue discussed in http://forums.adobe.com/thread/554107
    I added a ‘base’ variable but it did not work for me.
    The SMIL file has the correct path to the sample files and FMS server
         <meta base="rtmp://200.200.200.23/vod/" />
    I am able to stream files from my html file on my webserver not the FMS server by pointing to the FMS server at rtmp://200.200.200.23/vod/mp4:sample1_1500kbps.f4v
    Is this a domain security setting? If so, where do I change it?
    If not How do I get FMS to stream SMIL files without installing a webserver with FMS?
    Thanks,

    Hi,
    I think there is bug with that videoPlayer.swf which is used by index.html of webroot folder of FMS to play media files, its not able to parse smil file correctly. I used some other player and used the smil file and kept it on http server other than fms server so it was able to dynamically stream videos. So I would suggest you to create your own player which uses smil file. You can take help from the below link to create player:
    http://www.adobe.com/devnet/flashmediaserver/articles/dynstream_advanced_pt1_05.html
    Regards,
    Amit

  • Video Freezes when overriding flv files on FMS server

    I have an flash application that captures a web cam video stream and stores it on the FMS server.
    I notice when I create a brand new video, and store it on my FMS server, it works fine.
    When I make another video and my application overrides the file with the new video, this is where I get problems.
    When I download the flv file from the FMS server, and I play it locally it plays fine, but the timeline is weird.
    The web player freezes the video during that first 15 seconds.
    A 30 second video, will have a time line of like 45 seconds, the local flv player is smart enough to skip over the paused part of the video.
    You will see it skip over the timeline to the good video (from 0sec to 15 secs).  The web player freezes the video during that first 15 seconds.
    Any clues that I described that makes you know what is going on?

    Great that gives me a big clue, which asc file do you think I need to look in?
    /mnt/applications/livepkgr/main.asc
    /mnt/applications/multicast/main.asc
    /mnt/applications/live/MemberClips/MemberClips.asc
    /opt/adobe/fms/samples/applications/vod/main.asc
    /opt/adobe/fms/samples/applications/livepkgr/main.asc
    /opt/adobe/fms/samples/applications/multicast/main.asc
    /opt/adobe/fms/samples/applications/live/main.asc
    /opt/adobe/fms/scriptlib/framework.asc
    /opt/adobe/fms/scriptlib/webservices/XMLSchema.asc
    /opt/adobe/fms/scriptlib/webservices/SOAP.asc
    /opt/adobe/fms/scriptlib/webservices/Namespace.asc
    /opt/adobe/fms/scriptlib/webservices/ServiceManager.asc
    /opt/adobe/fms/scriptlib/webservices/XMLSchemaDataTypes.asc
    /opt/adobe/fms/scriptlib/webservices/Log.asc
    /opt/adobe/fms/scriptlib/webservices/XMLUtil.asc
    /opt/adobe/fms/scriptlib/webservices/SOAPConstants.asc
    /opt/adobe/fms/scriptlib/webservices/WSDL.asc
    /opt/adobe/fms/scriptlib/webservices/WebServicesClass.asc
    /opt/adobe/fms/scriptlib/webservices/WSDLConstants.asc
    /opt/adobe/fms/scriptlib/webservices/WebServices.asc
    /opt/adobe/fms/scriptlib/webservices/XMLSchemaConstants.asc
    /opt/adobe/fms/scriptlib/netservices.asc
    /opt/adobe/fms/scriptlib/application.asc
    /opt/adobe/fms/scriptlib/facade.asc
    /opt/adobe/fms/applications/MemberClips/MemberClips.asc
    /opt/adobe/fms/documentation/samples/livestreams/main.asc
    /opt/adobe/fms/documentation/samples/StreamLength/main.asc
    /opt/adobe/fms/documentation/samples/HelloWorld/HelloWorld.asc

  • Server error: Class: UCF Acroform Method error Message: Could not send mess

    Hi Gurus,
    I'm having a problem with displaying PDF file in the portal. I tried reinstalling Adobe 9. Tick and untick the option Display PDF in browser. But still encountering the error. Is it something to do with IE version? Please Help. Thanks in advance.
    Server error: Class: UCF Acroform Method error Message: Could not send message

    Hi,
        Please speify the system information so that I can help you
    Regards
    Sharanya.R

  • Classpath, weblogic.class.path, server's class path, javaclasspath, serverclasspath ?? confused

    When I type t3config , I see a couple of class paths and I'm confused which
    one is which and
    what are the diffrences between them, there is classpath, javaclasspath,
    serverclasspath, weblogic.class.path
    and JVM class path, Server's class path on the weblogic console window.
    any clearification is appreciated.
    thanks,
    CLASSPATH Prefix
    CLASSPATH
    JAVA_HOME
    WEBLOGIC_LICENSEDIR
    WEBLOGIC_HOME
    system properties
    weblogic.class.path
    INITIAL HEAP
    MAX HEAP
    SERVERCLASSPATH

    Why would you do that - same class in both class paths? Don't.
    Don't put any application classes in the system
    classpath (JAVACLASSPATH).
    Mike
    Dimitri Rakitine <[email protected]> wrote:
    http://www.weblogic.com/docs51/classdocs/API_ejb/EJB_deployover.html#1056256
    Tony Lu <[email protected]> wrote:
    Can someone tell me how does weblogic use the weblogic.class.path? what's
    the relation between weblogic.class.path and systemclasspth ? if I have 2
    different classes ( same name but different ) on bothpath, which one would
    be loaded ? the one in classpath or the one in weblogic.class.path?
    Dimitri

  • Package zzz not found in import (server side classes)

              Hi,
              I'm trying to use the "Web Application" feature in WL 5.10
              (with no service pack). My application contains a couple of
              servlets, a couple of server side classes, and a couple of
              jsp pages.
              I created the WEB-INF\classes directory structure both in
              public_html and in my application's root directory. I
              modified setEnv.bat to contain the two directories in
              ClassPath and compilation of my servlets from the command
              line completes OK (the servlets import a package that sits in
              public_html\WEB-INF\classes).
              However, when I try to import the same package from a jsp
              file, I get the "package zzz not found in import" error
              message. The trace shows that the java compiler invoked
              after the servlet has been generated does not contain
              public_html\WEB-INF\classes in the ClassPath, but contains
              public_html\my_app\WEB-INF\classes.
              How can I specify that the java compiler should look under
              public_html\WEB-INF\classes for server side classes? Is there
              another solution and am I even using the right approach?
              Thanks,
              Vladimir
              

              Vladimir wrote:
              >
              > Hi,
              >
              > I'm trying to use the "Web Application" feature in WL 5.10
              > (with no service pack). My application contains a couple of
              You should install the service packs, your problem will probably
              disappear then.
              Web Apps are better supported with service packs.
              > servlets, a couple of server side classes, and a couple of
              > jsp pages.
              >
              > I created the WEB-INF\classes directory structure both in
              > public_html and in my application's root directory. I
              > modified setEnv.bat to contain the two directories in
              > ClassPath and compilation of my servlets from the command
              > line completes OK (the servlets import a package that sits in
              > public_html\WEB-INF\classes).
              >
              > However, when I try to import the same package from a jsp
              > file, I get the "package zzz not found in import" error
              > message. The trace shows that the java compiler invoked
              > after the servlet has been generated does not contain
              > public_html\WEB-INF\classes in the ClassPath, but contains
              > public_html\my_app\WEB-INF\classes.
              >
              > How can I specify that the java compiler should look under
              > public_html\WEB-INF\classes for server side classes? Is there
              > another solution and am I even using the right approach?
              >
              Setting the WEBLOGIC_CLASSPATH should do the trick. Look in weblogic
              start file (On NT startWeblogic.cmd)
              > Thanks,
              > Vladimir
              

  • FMS Server Balancing

    Hello again. I run a FMS 3.5 Server and I want to add additional FMS Servers and load balance the traffic. The plan is to use a script for the developer version of FMS that forwards two incoming FME streams to the different servers, so each FMS Server has all streams. Is there a script for this? In addition there is a need for a script that somehow redirects the users to the server with the lowest users/bandwidth in use. Can somebody provide me  with such a script or help me? Would appreciate it. Any other solutions would be welcome to get the same results.

    I don't know of any publicly available code that does what you're looking for. I typically write an application that continually polls the admin services of each FMS in the cluster to handle load balancing.
    That said, I think what you're planning would violate the terms of the EULA for the FMS dev edition. I recall reading that you can only use the dev edition for deployment when not used in conjunction with additional FMS servers.... you might want to check into that.

  • Can we restart fms server from flex?

    Hi,
    I wanted to know whether we can start,stop restart fms server using flex code(actionscript).I actually came across API's StartServer() and StopServer().Can I use this for the purpose.If yes can you please give a sample code so that I can better understand the functionality.

    HI ,
    Its not possible DI server restrat Through B1WS.
    Thanks
    kalpen

  • Live streaming to FMS server from analog cable?

    Need to stream an analog cable signal (may consist of 60-70
    channels in VL and VHF)to FMS server. im doing a small scale
    project. so i want some hardwares supporting these. please suggest
    me some reasonable ones..
    is it possible to do the same with a tv tuner card.?

    For HLS streaming, only aac/heaac are supported audio codec. Though FMS do not disallow packaging mp3, but its mostly depnds upon ios devices to play back them.. We don't recommend mp3 as codec for ios playback.
    Thanks

  • Available Functions on FMS Server

    I have a chat client that uses FMS server. I do not know how many more functions are on FSM that I can utilize. There is 0 documentation for the available FMS server. Is there a way to browse or query all the available features/functions of Adobe FMS server?
    Also some of the chatters crashes my flash play remotely. I think, they are just overflowing the buffer? Is it the case? or how anyone can remotely crash my flash player? This only happens if I kick any of the specific user using the command /kick user.

    Adobe Media Server developer guide is available here
    http://help.adobe.com/en_US/adobemediaserver/devguide/index.html

  • OC4J Server startup classes and JNDI

    Hi,
    I have been using server startup classes in standalone OC4J provided with BPEL developer install to populate data from the server.xml into the JNDI server.
    Now I am deploying the BP to 10gAS and am unable to identify the configuration files that affect the contents of the JNDI server which is accessible from BPEL.
    Can anyone advise?
    Thanks,
    Toby

    Clemens,
    What we would like to do is to lookup configuration details in OC4J's JNDI server.
    As an example, we have an ftp web service that is used for functionality not available in the FTP adapters, deleting files, executing remote commands etc.
    We need to store the details of ftp connections somewhere centrally, and jndi looks like a good option. Something slightly different we would like to do here is to be able to access the configuration details that the FTP Adapters use, but if that's not possible, seperate entries in the jndi server would be good.
    To populate the JNDI server, we have written a server startup class which loads our custom configuration details at OC4J startup.
    This works fine under the OC4J supplied with a developer install, but when we deploy our code to a full blown 10g AS we cannot access the config information.

Maybe you are looking for

  • Dragging QT clips to iMovie

    I have a Firestore FS-4 Pro (external hard drive) that I use when recording football for the local community college. When recording, the footage is recorded as Quick Time files on the FS-4. When I mount the drive, open the folder and drag the files

  • Syncing calendars on Vista & BB 8130

    Hi everyone...I've read the posts about syncing, downloaded the SP and made sure my Device system is the most current.  Didn't have any problem till I upgraded on a new laptop to Vista...now I can't get my appts. from my phone to the new "Windows Cal

  • Need to make decision T400s or X301 :-( ???

    What will be best choice? I'm into internet marketing... use computer everywhere, mostly internet apps and multiple screens open also use office or openoffeci apps also use photoshop to create some web content or edit my own pictures once in a while

  • Why don't my my Audiobooks download automatically from the cloud...my music does

    why don't my my Audiobooks and photo's download automatically from the cloud...my music does

  • FB 4 - how to bind DropDown to state

    Hello:) I have been looking through the knowledge base and can't seem to come up with the answer I am looking for. I want, when an item is selected from a dropdownList control, for it to go to that certain state. I have currently 12 states, of which