Skip to main content
January 23, 2012
Question

Notify FMS of external data change?

  • January 23, 2012
  • 1 reply
  • 430 views

Hey all,

Newbies here.

We have an application that so far uses AS3/AMFPHP, but we are finding this "request-response" model limited and feel we could make better use of sockets to deliver a more streamlined experience.

The application is primarily a data-application containing no media streams.

We want to open a socket to FMIS and use this as a pipe in which to stream data to and from the application. This is all good.

Consider this situation however, when values can be adapted externally outside of the FMS application: Example:


A user who connects with $0.00 at the start of a Flash Client session, may topup money, via paypal externally. At this successful point, the users database value has $10.00, but FMS is still $0.00.


How can FMS be informed of an external event such as this and update the client accordingly in real time?

Thanks,

This topic has been closed for replies.

1 reply

January 23, 2012

Unless I'm misunderstanding the question, you want your backend application to open a socket to an FMS application to update data.

FMS doesn't provide support inbound connections (other than RTMP connections of course), but you could have your backend application open an RTMP connection to the FMS application and invoke a method in your SSAS to update the data. If your backend is PHP, have a look at http://code.google.com/p/php-rtmp-client/ .