play an audio stream (mp3) such as a radio

  1. 6 years ago

    Hi,

    I try to read a MP3 stream from an internet radio.
    Read a MP3 file from internet is easy. OpenURLMovie or OpenURLMovieMBS works fine.
    But if the audio stream is in live, that doesn't work.
    I use "httpsocket" to read file and save it on local disk but I've got another problem : the file has without end (live streaming !)... No "download complete" event occurs.
    So, impossible to get a file, except to interrupt it.

    I'm looking for a function (or an example) to read and play directly a Audio Stream. Do you know how to do that ?
    Thanks.

  2. Up ?

  3. Michel B

    1 Dec 2014 Testers, Xojo Pro
    Edited 6 years ago

    I just tried that in an HTMLViewer open event : Music :)

      me.LoadURL("http://www.bliss1042.com/") 

    Maybe you could try with your live streaming URL...

  4. 5 years ago

    Thanx for your reply. I'm going to try...

  5. 2 weeks ago

    did you ever resolved playing a live audio stream ? I contacted support about the fact using the media player control it didn't work on MacOS or Linux Arm. Plus the documentation is poor / contradictory of what works / doesn't work any more on whatever OS.

or Sign Up to reply!