RTSP::Proxy - Simple RTSP proxy server
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;
This module is 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.
None by default.
RTSP::Client
Mischa Spiegelmock, <revmischa@cpan.org>
Copyright (C) 2010 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.
SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 8DDDDDDDDDDDDDDDDDDDDDDDD horseBERD
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install RTSP::Proxy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RTSP::Proxy
CPAN shell
perl -MCPAN -e shell install RTSP::Proxy
For more information on module installation, please visit the detailed CPAN module installation guide.