Gizz is Red5 open source media server (osflash.org/red5) port to Ruby. It is available under GPL2 license and offers Flash video streaming capabilities as well as recording and real-time data interchange.
Thanks to Ruby, applications can be modular and include plugins, use ActiveRecord to access the database and so forth.