Kamaitachi - perl flash media server
use Kamaitachi; my $kamaitachi = Kamaitachi->new( port => 1935 ); $kamaitachi->register_services( 'servive1' => 'Your::Service::Class1', 'servive2' => 'Your::Service::Class2', ); $kamaitachi->run;
Kamaitachi is perl implementation of Adobe's RTMP(Real Time Messaging Protocol).
Now kamaitachi supports Remoting and MediaStreaming via RTMP. SharedObject is not implemented yet.
This 0.x is development *alpha* version. API Interface and design are stil fluid.
If you want to use kamaitachi, look at example directory. it contains both server script and client swf.
GitHub: http://github.com/typester/kamaitachi
Issues: http://karas.unknownplace.org/ditz/kamaitachi/
IRC: #kamaitachi @ chat.freenode.net
Kamaitachi->new( %options );
Create kamaitachi server object.
Available option parameters are:
port number to listen (default 1935)
socket buffer size to read (default 8192)
$kamaitachi->register_services( 'rpc/echo' => 'Service::Echo', 'rpc/chat' => 'Service::Chat', 'stream/live' => 'Service::LiveStreaming', 'stream/rec' => Service::LiveStreamingRecorder->new( record_output_dir => $dir ), );
Register own service classes.
$kamaitachi->run
Start kamaitachi
Daisuke Murase <typester@cpan.org>
Hideo Kimura <hide@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install Kamaitachi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Kamaitachi
CPAN shell
perl -MCPAN -e shell install Kamaitachi
For more information on module installation, please visit the detailed CPAN module installation guide.