I am building an application which plays radio streams from the internet on a defined schedule. The program can also play podcasts from the HD. At scheduled times the application will stop any audio which is playing and start the next scheduled stream or podcast.
The best way I have found so far to play the radio streams is to create a mini-browser with and HTMLviewer object and give it the URL of the web audio player provided by the radio station. This works very well with certain stations, sometimes with others, and with still others, not at all.
Some of the streams that I want to play end in “.mp3”. Occasionally these will load in the mini-browser and play. But most of the time the Quicktime logo comes up and then indicates an error. The error return code in the HTMLviewer is 204, “Plug-in handled load”.
A) Here is a URL that will load and play correctly: http://www.scpr.org/listen_live/
B) Here is a URL that will return the 204 error code most of the time: http://vpr.streamguys.net/vpr24.mp3
is it possible to load and play the .mp3 stream using XOJO?
MoviePlayer object or HTMLviewer?