Skip to main content
Apr 2, 2010 8:41 AM UTC
Answered

ASP / PHP pages: How to get streaming info from a XML file?

Hi all

I am using Adobe Flash Media Streaming Server 3.5 but I can't find any output file (fx a xml file) that I can pull out info from and use on my website via a PHP or ASP script. It could be nice - in the website - to retrieve info like "online users attending", "running / streaming state" (online or offline) and other relevant info about the streaming, so I on the website can display how many that are online when a webtv event is streaming.

I see the the info when I login at the web admin for FMS, but I need a solution that can work with ASP or PHP.

I simply can't find any file / address to get this kind or output out of FMS - can you help?

Thank you

Kind regards,

Jens

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Asa_-_FMS
    Asa_-_FMSCorrect answer
    Adobe Employee
    Apr 2, 2010 5:20 PM UTC

    Ok, but I have not make any applications. Remember I am a total beginner. I have just installed FMS and I have done a live streaming from a camera (installed at a client) and now I want to display the users online stat on their website.

    Everything is default, so what is the default way to get the users online stat for the default application?

    It looks like the default application is called "live" and instance name is called "server 1", so it should be:

    http://localhost:1111/admin/getUsers?auser=administrator&apswd=xxxxx&appInst=live/server 1

    But it is giving the same error...


    What's the rtmp url that you're connecting with? rtmp://serverName/live/server1 or is it just rtmp://serverName/live?

    20 replies

    calmchessplayer
    Inspiring
    Apr 2, 2010 3:27 PM UTC

    on the server side you can use amfphp,loadvars,or the XML Class...i suggest amfphp

    Translate
    Apr 2, 2010 3:32 PM UTC

    Thank you very very much

    I am a total beginner, so can you give me a link or a description on how to use "amfphp"? I have no clue what it is.

    Translate
    calmchessplayer
    Inspiring
    Apr 2, 2010 3:35 PM UTC

    Here is a link learn all the ins and outs of amfphp it will be an invaluable tool for you in the future.

    http://www.flash-db.com/Tutorials/hello/flashamfphp.php

    Translate