How can I listen for trace() statements on the Flash Media Server Administration API? -


i connected flash media server administration api via rtmpe on port 1111 , i'd monitor calls trace() server side actionscript code.

here's how it's done:

var netconnection : netconnection = new netconnection(); netconnection.connect( "rtmpe://fmsuri:1111", adminusername, adminpassword );  var netstream : netstream = new netstream( netconnection ); netstream.client = { onlog: handlelog }; netstream.play( "logs/application/appname/instancename", -1 );  function handlelog ( info : object ) : void {      trace( info[ "description" ] ); } 

Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -