Lightweight RTSP/RTP streaming media server
Perl Perl6
Latest commit 1ca5900 Feb 4, 2017 @revmischa committed on GitHub Update
Improving debian package install


This module is designed to accept a number of sources to connect and transmit audio and video streams.
Clients can connect and send RTSP commands to receive RTP data.

This was designed to make rebroadcasting audio and video data over a network simple.


To install this module type the following:

   perl Makefile.PL
   make test
   make install

To install debian jessie dependences:

   sudo apt-get install libmoose-perl liburi-perl libmoosex-getopt-perl libsocket6-perl libanyevent-perl
   sudo cpan AnyEvent::MPRPC::Client

Clone from git
   git clone

Then make, test and install
   perl Makefile.PL
   make test
   make install


Simply fire up the included application and it will listen for clients on port 554 (standard RTSP port), and source streams on port 5545.

To begin sending video, you can use any client which supports the ANNOUNCE and RECORD RTSP methods, such as FFmpeg:

ffmpeg -re -i /input.avi -f rtsp -muxdelay 0.1 rtsp://

You should then be able to play that stream with any decent media player. Just point it at rtsp://

If you don't want to run it as root, you may specify non-priviliged ports with --clientport/-c and --sourceport/-s


Priv dropping, authentication, client encoder, stats, tests


This module requires these other modules and libraries:

Moose, AnyEvent::Socket, AnyEvent::Handle


Copyright (C) 2014 by Mischa Spiegelmock

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.