Giter Site home page Giter Site logo

audio-icecast's Introduction

Audio::Icecast

Administrative helpers for an icecast server

Build Status

Synopsis

use Audio::Icecast;

# Using the default configuration

my $icecast = Audio::Icecast.new;

for $icecast.stats.source -> $source {
    say "listeners for { $source.mount }";
    for $icecast.listeners($source) -> $listener {
        say "\t",$listener.ip;
    }
}

Description

This provides a simple interface to the admin interface of an icecast server. You can get the statistics, information about the mount points and do most of the things that you can do through the web UI.

The API itself is quite thin as the icecast server doesn't do much more than stream audio from a source quite efficiently.

Some features such as static mounts and alternative authentication mechanisms can only be enabled via the configuration file and not dynamically, if you want more control over the streams at runtime then you might consider using a streaming middleware such as liquidsoap in conjunction with your icecast server.

You probably should at least familiarise yourself with the icecast documentation before making serious use of this module.

Installation

You can install this module using zef :

zef install Audio::Icecast

Or if you have the source code locally:

zef install .

Support

This isn't very complicated but the interactions with the server are quite difficult to test without introducing a bunch more dependencies. You'll have to take my word for it that I tested against a local icecast server with actual sources and clients :)

Anyhow if you have any suggestions or feedback feel free to post them at (github)[https://github.com/jonathanstowe/Audio-Icecast/issues] or even better send a pull request.

Licence and copyright

This is free software, please see the LICENCE file in the distribution.

© Jonathan Stowe 2016 - 2021

audio-icecast's People

Contributors

jonathanstowe avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.