Stream audio plugin for Cordova
platforms: android,ios
$ cordova plugin add


Basic cordova media plugin not allow to play radio audio stream on ios. This cordova plugin allow you to read a live radio stream

The android part of this plugin is from, I don't modify it


Run cordova plugin add

Use it

my_stream = new Stream("http://your_live_radio_streeam", onSuccess, onError);
// Play audio;
function onSuccess() {
    console.log("playAudio():Audio Success");
function onError(error) {
    alert('code: '    + error.code    + '\n' +
    'message: ' + error.message + '\n');

You can also stop the music with my_media.stop();