RTSP::Proxy is a Perl module, a simple RTSP proxy based on Net::Server and RTSP::Client.
When a client connects and sends commands to the server, it will pass them through the RTSP client and return the results back.
This module will also automatically proxy the media transport protocol as well. Currently it only proxies RTP over UDP, but support for other transports may be added if requested.
This has only been tested with VLC and Axis IP cameras, it may not work with your setup. Patches and feedback welcome.
Note: you will need to be root to bind to port 554, you may drop privs if you wish. See the configuration options in Net::Server for more details.
SYNOPSIS
use RTSP::Proxy;
my $proxy = RTSP::Proxy->new({
rtsp_client => {
address => '10.0.1.105',
media_path => '/mpeg4/media.amp',
client_port_range => '6970-6971',
transport_protocol => 'RTP/AVP;unicast',
},
port => 554,
listen => 5,
});
$proxy->run;
Product's homepage
Requirements:
· Perl