Skip to main content
January 25, 2008
Question

Remote Application Connection

  • January 25, 2008
  • 2 replies
  • 269 views
I have a simple application that streams live feeds as well as archived feeds on demand. The web application that displays these feeds has the meta data stored in a MySQL database, but doesn't know if feeds are currently live, or archived. Is there a way to get this from the FMS either by connecting and getting a list of live feeds or by having the FMS connect to the database?

Is my only option to create another flash application that simply plays the live feeds?

Thanks,
-Ben
    This topic has been closed for replies.

    2 replies

    January 28, 2008
    You can call NetConnection.connect() from Server-Side ActionScript to make a connection from Flash Media Interactive Server or Flash Media Development Server over HTTP to a Flash Remoting gateway on an app server.
    Check out the Flash Remoting documentation:
    http://www.adobe.com/support/flash_remoting/documentation/using_flash_remoting.html

    Hope that helps,
    Jody
    January 28, 2008
    There is an API which you can use from within a flash application see "flashmediaserver_mgmt_asd.pdf" which would also be useful if you can talk RTMP from your application (see osflash.org for useful libraries and documentation). However there is also a URL 'GET' API which you can use (and I think might be more useful for you). One downside I've discovered is that most of the calls won't work in the dev version. I think these are in flashmediaserver_managing.pdf but could be wrong. Either way you'll be interested to explore these documents:

    http://download.macromedia.com/pub/documentation/en/flashmediaserver/2/fms_pdfs.zip


    Hope that helps :)