Shout
view release on metacpan or search on metacpan
{
"abstract" : "Perl glue for libshout MP3 streaming source library",
"author" : [
"Jack Moffitt <jack@icecast.org>"
],
"dynamic_config" : 0,
"generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
---
abstract: 'Perl glue for libshout MP3 streaming source library'
author:
- 'Jack Moffitt <jack@icecast.org>'
build_requires:
HTTP::Response: '0'
Test::Fake::HTTPD: '0'
Test::More: '0.96'
Test::Pod: '0'
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
Makefile.PL view on Meta::CPAN
# Dist::Zilla::Plugin::MakeMaker::Awesome 0.48.
# Don't edit it but the dist.ini and plugins used to construct it.
use strict;
use warnings;
use 5.008005;
use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
"ABSTRACT" => "Perl glue for libshout MP3 streaming source library",
"AUTHOR" => "Jack Moffitt <jack\@icecast.org>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Shout",
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.008005",
"NAME" => "Shout",
"PREREQ_PM" => {},
"TEST_REQUIRES" => {
NAME
Shout - Perl glue for libshout MP3 streaming source library
SYNOPSIS
use Shout qw{};
my $conn = new Shout
host => 'localhost',
port => 8000,
mount => 'testing',
nonblocking => 0,
function interface.
:all
All of the above symbols can be imported into your namespace by giving
the ':all' tag as an argument to the use statement.
DESCRIPTION
This module is an object-oriented interface to libshout, an Ogg Vorbis
and MP3 streaming library that allows applications to easily
communicate and broadcast to an Icecast streaming media server. It
handles the socket connections, metadata communication, and data
streaming for the calling application, and lets developers focus on
feature sets instead of implementation details.
METHODS
Constructor
None of the keys are mandatory, and may be set after the connection
object is created. This method returns the initialized icecast server
connection object. Returns the undefined value on failure.
ex/example2.pl view on Meta::CPAN
use Shout;
###############################################################################
### C O N F I G U R A T I O N
###############################################################################
use vars qw{$Debug $Lame};
chomp( $Lame = `which lame` );
my $Bitrate=64;
my $Samplerate = 22050;
### Create a new streaming object
my $streamer = new Shout
host => "localhost",
port => 8000,
mount => "/example2",
password => "hackme",
format => SHOUT_FORMAT_MP3,
protocol => SHOUT_PROTOCOL_HTTP;
$streamer->set_audio_info(SHOUT_AI_BITRATE => $Bitrate,
SHOUT_AI_SAMPLERATE => 22050);
lib/Shout.pm view on Meta::CPAN
return $self->$get_method();
};
}
1;
__END__
=head1 NAME
Shout - Perl glue for libshout MP3 streaming source library
=head1 SYNOPSIS
use Shout qw{};
my $conn = new Shout
host => 'localhost',
port => 8000,
mount => 'testing',
nonblocking => 0,
lib/Shout.pm view on Meta::CPAN
documentation for more information about how to use the function interface.
=head2 :all
All of the above symbols can be imported into your namespace by giving the
'C<:all>' tag as an argument to the C<use> statement.
=head1 DESCRIPTION
This module is an object-oriented interface to libshout, an Ogg Vorbis
and MP3 streaming library that allows applications to easily
communicate and broadcast to an Icecast streaming media server. It
handles the socket connections, metadata communication, and data
streaming for the calling application, and lets developers focus on
feature sets instead of implementation details.
=head1 METHODS
=over 4
=item Constructor
None of the keys are mandatory, and may be set after the connection object
( run in 0.267 second using v1.01-cache-2.11-cpan-4d50c553e7e )