Flash media server 4.5 log files filed x-duration value always 0

Hi guys,
When i read flash media stats log file then i found x-duration value 0 only in case for x-event unplublish this filed have a value.
My question is x-duration filed value is the number of seconds the client has been connected. then why i am getting 0 in case of publish and publish-continue only get the value in case of unpublish.
Any one explain ? how can i get the connection time in case of publish and un publish
Thanks
Brijesh

For a stream the x-duration is the number of seconds the stream has played. Hence at publish and record events this value is 0 and is non-zero for unpublish event.
In case of session, this field contains the number of seconds the client has been connected. This will be 0 for connect event and non-zero for disconnect event.
The time an event occurred is reflected under the time filed in access log.
Regards,
Apurva

Similar Messages

  • Flash Media Server... log analyzer

    I am looking for a web analyzer for that can process the web
    streaming logs. So far the only one i could find is the Sawmill
    analyzer, but I would prefer a more grafical Analyzer. Does anyone
    know a good one?

    I used to play the application games useing firefox.  Now the games won't come up on facebook.  it said my java script was turned off.  I do not know a lot about computers.  I like firefox.  How can I get it back, and why is my java script turned off and how do I turn it back on and what does safe mode mean useing firefox because thats how it is.  Can you help me, please.

  • Can't connect the Flash Media Server

    hi ,I am a jackaroo in Flash Media Server
    My OS is Windows XP ,I install the Flash Media Server in
    C:\programme files\
    using fms2_console.swf i can successfully connect to the
    server and manage it.
    I make a empty folder named 'test' in the application folder
    then i deploy it in cosole.
    next I write actionscript in flex to connect to the server.
    but it always return 'connection failed'
    in the server log ,it displays 'Sun 06:46:55 PM: Core (3964)
    socket migration failed.'
    I use netstat -a ,the port 1111,1935 ,11110,19350 are open.
    The code I writed looks like this
    NetConnection.defaultObjectEncoding =
    flash.net.ObjectEncoding.AMF0;
    public var net_con:NetConnection;
    net_con=new NetConnection();
    net_con.addEventListener(NetStatusEvent.NET_STATUS,connectionHandle);
    net_con.connect("rtmp:/test");
    private function connectionHandle(event:NetStatusEvent):void
    if((event.info.code=="NetConnection.Connect.Success")||net_con.connected==true)
    Alert.show("CONNECTION SUCC!!!");
    else
    Alert.show("CONNECTION FAILED!!!");
    I don't why it cann't connect to the server
    I googled it but find nothing helpful and I think you can
    help me .
    Very sorry for my bad english .

    I think there is no problem in this code.
    because In the documention flashmediaserver_developing.pdf
    It's write
    "Applications are run by creating application instances. When
    a client connects to an
    application, the client is actually connected to an
    application instance. For example, a client
    connects to an application named chat_app, as the following
    example shows:
    nc.connect(“rtmp://myDomain.com/chat_app”);"
    I also tried rtmp://127.0.0.1/test ,but same result

  • User ID in Flash Media Server log files?

    We may be using Flash Media Server in an intranet only scenario.  All users will be watching the videos from Windows boxes.   Our users who are creating the videos want to track usage by user ID.  Does the server log the client's user ID? Is that what c-client-id is?  If c-client-id is used to store Windows user name do I need to turn on AD/windows authentication to get that info?  I see that IP address is stored, but it would be simpler if the user Id were in the log file.

    Hi,
    c-client-id field denotes the unique client-id assigned by FMS to a connecting client. This id is valid from the time "connect" event is received in the access.00.log to the time "disconnect" event is received. It is not the Windows user-id.
    You  would have to track the usage based on the c-ip field.
    Thanks
    Mamata

  • Windows Flash Media Server ERROR: [info] mod_jithttp - FMS installation path: "C:\\Program Files\\Ad

    Hello all,
        I am running Flash Media Server 4.5.1 for Windows. I am using Windows 2008 R2 Server. Whenever I start my Flash Media Server, I get the following error in my Windows Event Log in the Application section.
    The Apache service named  reported the following error:
    >>> [Tue Sep 04 13:43:40 2012] [info] mod_jithttp - FMS installation path: "C:\\Program Files\\Adobe\\Flash Media Server 4.5\\"  .
    I am using the default configuration settings for HDS Live in the Apache2.2/conf/httpd.conf
    <IfModule jithttp_module>
    <Location /hds-vod>
         HttpStreamingJITPEnabled true
         HttpStreamingContentPath "/flashvideo"
         JitFmsDirPath ".."
         Options -Indexes FollowSymlinks
    </Location>
    </IfModule>
    I am not sure what the error is, I did see using a single quote if you are using spaces in Windows for Apache2.2 configuration and that setting did not work. I would like to use HDS Live eventually. If anyone has experience in troubleshooting this, I'd love to hear your input. Thank you.
    Harry Traver

    Hello Shiven,
         FMS Apache Service is installed from the Adobe Flash Media Server installation program. When I start FMS from the "Start Adobe Flash Media Server 4.5" icon, it starts both the "Flash Media Server (FMS)" and "FMSHttpd" service. When I stop the FMSHttpd service I am not longer able to access my FMS server from http://myfmsserverip. Please advise.
    Harry Traver

  • How to get list of logged-in users from Flash Media Server in a Flash programm? (Or login/logout notifications)

    Hi there,
    I'm Very sorry for asking this. I guess it's a very basic problem, but I'm very new to Flash and Flash media Server and I need a very fast answer...
    Currently I'm working on a Director project using a flash program which connects to Flash Media Server (I guess version 3, it's quite old). Unfortunately they forgot to make a flash method to send the actual userlist (or a notification when someone logged in or out) to Director. AND, unfortunately, they lost the source code of that flash programm, so I cannot look into it or alter it *sigh*.
    Now I want to do a new flash programm which covers the old one, letting all known methods "pass trough" and building an additional method to gain the user list (or login/out notification).
    How do I get the login information from Flash Media Server? (Would be good if you could provide an idea already for flash code... as I said I'm a tard at flash till now)
    Thank you so much. And I hope you understand my situation asking here...
    Jana

    hparmar : yes, that's what I feared... I hoped it would be possible to tell the server from which application I do need the login information. What a mess.
    Dimo Hristov: thanks for your offer! I already tried decompiling the flash program with the shareware version of Trillix Decompiler. It only decompiled the UI (in a terrible way) but no source code at all. It was the shareware version where I can decompile 2 or 3 programms to test the software. Are you sure the non-free version of Trilix Flash Decompiler will do..?

  • FMS4 -Set the Flash Media Server services to Run as Administrator (FMSCore not running)

    Installed fms4  x64 on windows server 2008 to try it out. When i open up task manager to check processes running, FMSCore process does not runhttp://kb2.adobe.com/cps/862/cpsid_86205.htmlI found this in the knowledge base but step3 "Run this program As Administrator" checkbox is greyed out so i cannot do anything. I have stopped and restarted service so many time, rebooted server at least twice.
    Even the video that's supposed to play when you click the start screen is not playingSet the Flash Media Server services to Run as Administrator
    Complete the following steps for each of the following files located in the Flash Media Server root installation folder (C:/Program Files/Adobe/Flash Media Server, by default):
    FMSAdmin.exe
    FMSCore.exe
    FMSMaster.exe
    FMSEdge.exe
    Right-click the file and chooseProperties.
    Select the Compatibility tab and click Change Settings For All Users.
    Select Run This Program As Administrator. Click Apply, and then click OK.
    Complete these steps for each Flash Media Server service.
    Restart the computer.
    Flash Media Server starts when the computer starts.

    Hi,
    Thanks for using FMS4.
    When you said "
    I have stopped and restarted service so many time, rebooted server at least twice. "
    How did you make sure that the services are restarted ? Probably they have not yet started at all ? You need to have admin privileges to start/stop the FMS services. Please make sure you have the admin rights for the logged in user.
    Open a command prompt as admin, and run the following commands :
    net start fms
    net start fmsadmin. 

  • FMLE not connecting to Flash Media Server

    I have two laptops with windows 7 and FMLE 3.2 and FMS 4.5 in them. Laptop A is working perfectly with the default settings but i cannot connect to FMS with laptop B. I have tried turning windows firewall off, setting fmscore, fmscore and fmsmaster to run under administrator privileges.
    The FMS starts correctly on laptop B (i compared the log-files on laptop a and b) and here is edge.00.log from laptop B (i censored my ip and host):
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          12:37:37          3432          (i)2581173          FMS detected IPv6 protocol stack!          -
    2012-08-09          12:37:37          3432          (i)2581173          FMS config <NetworkingIPv6 enable=false>          -
    2012-08-09          12:37:37          3432          (i)2581173          FMS running in IPv4 protocol stack mode!          -
    2012-08-09          12:37:37          3432          (i)2581173          Host: myhost IPv4: myip      -
    2012-08-09          12:37:37          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : localhost:19350/v4          -
    2012-08-09          12:37:38          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 1935/v4          -
    2012-08-09          12:37:38          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 80/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:19350 (rtmfp-core)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:19350 (rtmfp-core)/v4          -
    2012-08-09          12:37:39          3432          (i)2631509          Public rtmfp-core addresses for listener _defaultRoot__edge1 are: myip:19350          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:1935 (rtmfp)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:1935 (rtmfp)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : myip:80 (rtmfp)/v4          -
    2012-08-09          12:37:39          3432          (i)2631174          Listener started ( _defaultRoot__edge1 ) : 127.0.0.1:80 (rtmfp)/v4          -
    When i hit Connect button in FMLE i get the "Cannot connect to primary server" - error. When i change the FMS-Url to the ip-address of my laptop A i can connect to its FMS. The default FMS Url is rtmp://localhost/live and  Stream: "mystream@38220" (this is working in laptop A).
    I downloaded TCPView and compared whats happening with the laptops when i hit the Connect button. On laptop B FMLE sends bytes to FMSEdge and it responds with 1 byte and then nothing happens. On laptop A same thing happens but it opens up FMSCore and the stream starts going live.
    Apparently the FMS had worked on laptop B before but then it stopped working due to reasons unknown. I tried reinstalling it with no results and now im clueless. I also tried the fmscheck and it said it cannot connect to FMS. It seems the FMSEdge is not behaving correctly or something is blocking the traffic between the programs. Please help.

    Access log looks like this:
    #Date: 2012-08-09
    #Fields: x-event          x-category          date          time          tz          x-ctx          s-ip          x-pid          x-cpu-load          x-mem-load          x-adaptor          x-vhost          x-app          x-appinst          x-duration          x-status          c-ip          c-proto          c-proto-ver          s-uri          cs-uri-stem          cs-uri-query          c-referrer          c-user-agent          c-client-id          cs-bytes          sc-bytes          c-connect-type          x-sname          x-sname-query          x-suri-query          x-suri-stem          x-suri          x-file-name          x-file-ext          x-file-size          x-file-length          x-spos          c-spos          cs-stream-bytes          sc-stream-bytes          x-service-name          x-sc-qos-bytes          x-comment          x-eid          x-sid          x-trans-sname          x-trans-sname-query          x-trans-file-ext          x-trans-mode          x-soffset          x-codec-type          x-codec          x-plugin          x-page-url          x-smax-rec-size          x-smax-rec-duration          x-forwarded-for
    server-start          server          2012-08-09          12:35:42          FLE Daylight Time          -          192.194.211.110          7492          0          48          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -          -
    Then there is the master log:
    #Date: 2012-08-14
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-14          13:30:12          3216          (i)2581173          FMS detected IPv6 protocol stack!          -
    2012-08-14          13:30:12          3216          (i)2581173          FMS config <NetworkingIPv6 enable=false>          -
    2012-08-14          13:30:12          3216          (i)2581173          FMS running in IPv4 protocol stack mode!          -
    2012-08-14          13:30:12          3216          (i)2581173          Host: Tatu-PC IPv4: 192.194.211.110          -
    2012-08-14          13:30:12          3216          (i)2571011          Server starting...          -
    2012-08-14          13:30:12          3216          (i)2581224          Edge (2992) started, arguments : -edgeports ":1935,80" -coreports "localhost:19350" -conf "C:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml" -adaptor "_defaultRoot_" -name "_defaultRoot__edge1" -edgename "edge1".          -
    2012-08-14          13:30:12          3216          (i)2571111          Server started (C:\Program Files\Adobe\Flash Media Server 4.5\conf\server.xml).          -
    And the core log
    #Version: 1.0
    #Start-Date: 2012-08-09 09:35:26
    #Software: Adobe Flash Media Server 4.5.0 r297 x86
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          09:35:26          5380          (e)2571122          Server aborted.          -
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          11:51:27          1340          (e)2571122          Server aborted.          -
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          11:51:36          7848          (e)2571122          Server aborted.          -
    #Date: 2012-08-09
    #Fields: date          time          x-pid          x-status          x-ctx          x-comment
    2012-08-09          12:35:43          7492          (e)2571122          Server aborted.          -
    I tried connecting to localhost:1935 with telnet and typing something and then watching what happens in TCPView. It says that the fmsedge process listening to port 1935 establishes the connection and receives the bytes, though it closes it after few seconds probably because it doesnt understand what data i sent. And when FMLE sends 1537 bytes to fmsedge it receives them but nothing happens.

  • Flash Media Server 2 - Trace

    I have ...
    * Flash MX Professional 2004 7.2
    * Flash Media Server 2
    * Flash Remoting Components
    The problem I am having is I cannot get trace messages on
    server side scripts to display anywhere. I have looked at View
    Applications > {APP} > Live Log, but nothing is there. I have
    #include "NetDebug.as" in my code, but while giving no errors, it
    appears not to do anything. I really have no idea what is going on,
    as I have previously managed to get trace messages displayed
    successfully.
    Please help and my thanks!

    About the security warning... you get that with all .swf's
    run locally. To get rid of it, follow the link to add the location
    in the security manager. The link will take you to a page on the
    adobe site. Just add the path to the .swf, and you won't get that
    warning anymore.
    About connecting from a local .swf... it will work just fine.
    It's the flash client that makes the connection, so it doesn't
    matter where it's served or run from.
    In your main.asc, the code looks good but you don't need to
    load the component libraries unless you're using components
    (Communication components, not UI components). Loading them doesn't
    harm the operation of the application, it just uses memory where
    you not might need to.
    In your client side AS, try changing the rtmp string to match
    the following:
    myNetConnection.connect("rtmp://129.186.168.116/LawnChairLarry");
    Note the addition of a second slash after the rtmp, and the
    absence of the _definst_ instance name. If you want to use the
    default instance, you don't need to identify it.
    Next, you'll want to make sure the path to your video file
    looks like this:
    FMS Install
    Dir/applications/LawnChairLarry/streams/_definst_/LawnChairLarry.flv

  • Slow connection to flash media server 2 (with HTTP Tunneling)

    Hello,
    I use a FMS2 for a big project which include Instant
    Messenger and
    streaming video.
    On my development platform. I have no problem. But in the
    final
    configuration, the connection to Flash Media Server takes a
    lot of
    time (about 2 or 3 minutes) and i can't find why.
    FMS2 was installed on Windows 2003 Server behind a proxy and
    a
    firewall which only let the hostport 80 oppened.
    The server does not run a web server (or anyother
    application) which
    use this hostport.
    The connection are established by HTTP Tunneling.
    Does someone already have the same problem?
    Thanks for your answers and sorry for my poor english level.
    Guillaume

    I forgot to mention:
    Flash Media server is running fine. I can log into the Admin
    application no probs.
    I created a folder called "test". Inside that folder I
    created another one called streams and inside that folder I created
    a folder called _definst_.
    I placed an flv file called: test.flv in to the _definst_
    folder.
    In Dreamweaver CS3 I inserted a Flash Video File:
    Chose Streaming as the option and for the RTMP path I put:
    rtmp://ipaddressofserver/test/_definst_/test.flv
    Called the stream....test.
    When i run the page it loads, but the page is blank.
    In the Flash Media Server, in the "View Applicationd" tab
    I get the record of test and underneath it in the same link
    it says test.flv with 1 client
    The Streams tab shows a random name and Netstream.
    This tells me its recognising the connection and link, but
    the movie is not on the page
    any help would be appreciated
    cheers

  • How to check which version of flash media server is installed on

    Hi all.
    Is there any way to check which version of flash media server is installed on my computer?

    Hi Amit,
    Thank you for your reply. But I still cannot find the information in the log files.
    Flash meda server 3.5 has three versions: flash media Streaming server, flash media Interactive server and Development server. I would like to confirm which version above is installed on my computer. Is there a way to check for it?

  • Live Instance in Flash Media Server 4.0 crashes/causes stream failure

    Hi,
    I have a Flash Media Server streaming version 4.0 server that is expierencing some issues.  Currently multiple inlet encoders are publishing live video content to this FMS.  At random times, the live_definst_ instance will crash and then restart itself.  The encoder does not recognize this new session and as a result, no new live video is being sent unless the encoder is stopped/started.  This cannot be done during live events, however. 
    I also have an enterprise version 4.0 that does not have this issue.  Is there a fundamental difference between the streaming/enterprise versions that would cause this issue and if so, is there any modifications that can be done to the streaming server that can fix this?
    Also I've noticed on the master logs that the enterprise server has various
    _defaultRoot_L_defaultVHost_:::_0 expierenced 1 failure's
    After this it seems like it starts.  However, the streaming server has this:
    _defaultRoot_L_defaultVHost_:::_0 expierenced 2 failure's
    Recovering core _defaultRoot_:::: with 2 failure[s] after 300 seconds!
    What exactly is this "recovering" process, could this be what is causing this issue?  Can I disable this in the config?

    You need to place the crossdomain.xml in the webroot folder. Create a text file in the webroot folder using notepad, and call it crossdomain.xml. The text below will give you a wide open access policy, which is fine for testing.
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
              <allow-access-from domain="*" />
    </cross-domain-policy>
    For debugging HTTP streaming I recommend you get hold of something like Charles or Fiddler. These will greatly assist in pinpointing any issues.

  • Flash Media Server X-Forwarded-For

    Hello Everybody
    I need to find how to implement 'X-Forwarded-For' for Flash Media Server. Right now the problem is that the flash media server is thinking that my routers internal IP is what my external users has as external IP. So when I look into my log I can see access from 192.168.1.2 and not from the true address that is 87.72.50.50.
    How can I fix this problem? If X-Forwarded-For not supported what can I use then?
    Thanks!

    Hi
    As I understand it, Flash Media Server is more for the deployment of video.
    Have you tried Wallaby to convert your files? You'll need to export for Flash Professional (from InDesign CS5 or greater) then use the Wallaby converter from there to get lovely HTML5 goodness.
    Wallaby is on Adobe Labs: http://labs.adobe.com/technologies/wallaby/
    It is an experimental technology, but surely worth a go?

  • Config Flash Media Server

    Hello
    I am new with this, I have a problem
    I have installed the flash media server in a windows 2008 server with IIS
    when I run the test page at ...Adobe/Flash Media Server 4/webroot/index.html all works
    but if call it from media live encode to stream from outside the server just dont works
    here are the config lines
    SERVER.ADMIN_USERNAME = xxxxx
    SERVER.ADMIN_PASSWORD = xxxxxxxx
    SERVER.ADMINSERVER_HOSTPORT = :1111
    SERVER.PROCESS_UID =
    SERVER.PROCESS_GID =
    SERVER.LICENSEINFO = xxxxxxxxxxxxxxxxxx
    LIVE_DIR = C:\Program Files (x86)\Adobe\Flash Media Server 4\applications\live
    VOD_COMMON_DIR = C:\Program Files (x86)\Adobe\Flash Media Server 4\webroot\vod
    VOD_DIR = C:\Program Files (x86)\Adobe\Flash Media Server 4\applications\vod\media
    SERVER.FLVCACHE_MAXSIZE=500
    SERVER.HTTPD_ENABLED = true
    ADAPTOR.HOSTPORT = :1935,80
    HTTPPROXY.HOST = 209.239.120.100:80
    VHOST.APPSDIR = C:\Program Files (x86)\Adobe\Flash Media Server 4\applications
    APP.JS_SCRIPTLIBPATH = C:\Program Files (x86)\Adobe\Flash Media Server 4\scriptlib
    LOGGER.LOGDIR =
    USERS.HTTPCOMMAND_ALLOW = true
    when I use the test page I can see in the admin page log this
    Mon 12:02:00 AM: Connect : rtmp://localhost:1935/vod
    Mon 12:02:02 AM: Connect : rtmp://localhost:1935/vod
    I only have one ip 209.239.120.100
    and what should be my FMS URL
    for the hekp thanks a lot

    When you say this "but if call it from media live encode to stream from outside the server just dont works" - you mean you are trying to connect to FMS machine from FMLE which is installed on different machine - Am i right? - if that's the case - please check if your firewall is open for ports 1935,80.

  • How to test streaming bandwidth on localhost with Flash Media Server ?

    Hello,
    I'm trying to debbug my code on Client side (Action Script 3) that works with Flash Media Server 4 on localhost. Everything seems fine up to that point.
    However, when I'm trying to test my player with other remote streaming servers, I notice bugs because of lower bandwith transmission between the server and the player.
    Is there a simple way to simulate lower bandwith with FMS4 on localhost (by config, application.xml, programmation...) ?
    Thanks
    Seb Ethier

    Thank you zarihs Rawna
    Indeed, i have been with Server-Side ActionScript (SSAS) way. it's more simple, i think.
    Well, here the step what i did :
    Step 1 :
    Make a file "main.asc" et copy & paste the code below.
    - more info : http://www.peachpit.com/articles/article.aspx?p=31217
          *main.asc*
        var bandwidth;
        application.allowDebug = true;
        // Application callback functions
        application.onConnect = function(client, user) {
            //12800 = 100 Kbps   
            //64000 = 500 Kbps
            //131072 = 1Mbps
            //327680 = 2.5 Mbps
            //983040 = 7.5 Mbps
            //1966080 = 15 Mbps
            //3932160 = 30 Mbps
            //6553600 = 50 Mbps
            //15728640 = 120 Mbps
            bandwidth = 64000;
            client.setBandwidthLimit(bandwidth, bandwidth);
            trace("clientToServer = " + client.getBandwidthLimit(0) +  " serverToClient="+  client.getBandwidthLimit(1));
            application.acceptConnection(client);       
            trace("TEST");
    Step 2 : Save the file under the folder underneath FMS's applications directory
    Example : FMS\application\dyn
    More info : http://www.flashcomguru.com/articles/fms2_basics.cfm
    Step 3: Start the FMS server. If there is a problem, check the log file
    Example : FMS\logs\_defaultVHost_\dyn\_definst_\application.00.log
    Step 4 : (optional) Change the value of the variable bandwidth for your test. I put in comment some common internet connection speed converted in bytes.
    That's all,
    regards,
    sethier

Maybe you are looking for