Skip to main content
April 2, 2010
Answered

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

  • April 2, 2010
  • 1 reply
  • 2904 views

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 has been closed for replies.
    Correct answer Asa_-_FMS

    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?

    1 reply

    calmchessplayer
    Inspiring
    April 2, 2010

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

    April 2, 2010

    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.

    calmchessplayer
    Inspiring
    April 2, 2010

    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