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

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -