Net::Icecast2::Admin - Icecast2 Server Admin API
use Net::Icecast2::Admin; my $icecast_admin = Net::Icecast2::Admin->new( host => 192.168.1.10, port => 8008, protocol => 'https', login => 'source', password => 'hackme', ); $icecast_admin->stats; $icecast_admin->list_mount;
Make request for Icecast2 Server Admin API
Description : Icecast2 Server hostname Default : localhost Required : 0
Description : Icecast2 Server port Default : 8000 Required : 0
Description : Icecast2 Server protocol ( scheme ) Default : http Required : 0
Description : Icecast2 Server Admin login Required : 1
Description : Icecast2 Server Admin password Required : 1
Usage : $icecast_admin->stats Description : This admin function provides the ability to query the internal statistics kept by the icecast server. Almost all information about the internal workings of the server such as the mountpoints connected, how many client requests have been served, how many listeners for each mountpoint, etc, are available via this admin function.
Usage : $icecast_admin->list_mounts Description : This admin function provides the ability to view all the currently connected mountpoints.
Icecast2 server: http://www.icecast.org Icecast2 API Docs: http://www.icecast.org/docs/icecast-trunk/icecast2_admin.html
Related modules Net::Icecast2 Net::Icecast2::Mount
Pavel R3VoLuT1OneR Zhytomirsky <r3volut1oner@gmail.com>
This software is copyright (c) 2012 by Pavel R3VoLuT1OneR Zhytomirsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Net::Icecast2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Icecast2
CPAN shell
perl -MCPAN -e shell install Net::Icecast2
For more information on module installation, please visit the detailed CPAN module installation guide.