Skip to content

attilabOfficial/cordova-audio-stream-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-audio-stream-plugin

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

#Installation Run cordova plugin add https://github.com/keosuofficial/cordova-audio-stream-plugin.git

#Use it my_stream = new Stream("http://your_live_radio_streeam", onSuccess, onError); // Play audio my_stream.play(); 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_stream.stop();

About

Cordova audio stream plugin for IOS. You can read radio feed with it

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published