openradio

    1.1.52 • Public • Published

    openradio

    Let you create your own livestream radio.

    Installation

    Before installing OpenRadio, You must have ffmpeg installed on your system.

    # OpenRadio CLI Installation
    npm install -g openradio
    # OpenRadio Core Installation
    npm install openradio

    Example

    const openradio = require("openradio");
    const player = openradio();
    
    player.play(fs.createReadStream("audio.mp3"));
    // After this function, A player is now broadcasting a song. 
    // Do player.pipe(writable) after this.

    For OpenRadio CLI

    # Go to some directory that contains any audio files....
    cd /home/Yonle/Music
    # Start the radio
    openradio
    # You can also Listen to another Port
    openradio 8080

    Useful Link

    Community

    Install

    npm i openradio

    DownloadsWeekly Downloads

    78

    Version

    1.1.52

    License

    Apache-2.0

    Unpacked Size

    56.6 kB

    Total Files

    12

    Last publish

    Collaborators

    • yonle