Hi,

I'm been looking at the oflaDemo stuff that comes with Red5, but I can't
figure out how to write a Ruby handler that will get called whenever an FLV
gets written (so I can save it to S3).  I've tried modifying the oflaDemo
main.rb Application class to have the following methods:

   def streamBroadcastClose(stream)
     puts "Ruby sBC: #{stream.inspect}"
     super(stream)
   end

   def streamBroadcastStart(stream)
     puts "Ruby sBS: #{stream.inspect}"
     super(stream)
   end

   def streamRecordStart(stream)
     puts "Ruby sRS: #{stream.inspect}"
     super(stream)
   end

   def streamPublishStart(stream)
     puts "Ruby sPS: #{stream.inspect}"
     super(stream)
   end


But none of them ever get called.  What am I missing?

Thanks,
Ryan
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to