[Red5] Adding function to oflaDemo

Michael Cassano rummey at black-hole.com
Sat Jan 27 17:06:58 EST 2007


Hello,

I changed the red5-web.xml file for oflaDemo to use the Python scripts.
 I added:

def toAdd():
     return '1'

to demoservice.py, and restarted my server.  In my Flash app I added:

client_nc.call("demoService.toAdd");

and when that line runs I get:

Python appConnect: RTMPMinaConnection from 75.72.166.XXX:4340 to
216.70.XXX.XXX (in: 3394, out: 3073) array([], java.lang.Object)
Python setting bandwidth limits
[ERROR] 13455 pool-1-thread-5:(
org.red5.server.service.ServiceInvoker.error ) Method toAdd not found in
Error

Any ideas?

Thanks!

Mike



More information about the Red5 mailing list