It's possible play audio from hosting?

Hi!
I’m creating an app (music player) for my project, LOFTSOUND, a little community of musicians.
I would play music of every band from hosting, is it possible create without using any other platform.
Thanks

Stefano  
 

There was a discussion here that may help answer your current question and future follow-up questions on this topic:

http://forums.coronalabs.com/topic/29612-play-streaming-internet-radio/

http://docs.coronalabs.com/daily/api/library/media/RemoteSource.html

It sound like maybe you can treat it as a video and play it?  Not sure, never tried it, but hopefully the above discussion and link will help

Some people have used media.playVideo() to play a fixed sound file from a remote source.  This will “stream” the sound as in it will start playing it before it finishes downloading, but it has to be a fixed sized file.  This technique won’t work with streaming services where the sound stream doesn’t end.  It’s probably also limited to .mp3 files or other files that an .mp4 encoder can handle.

Since this is using the media.* API, you can’t blend it with other sounds using the audio.* APIs.

This is not formally supported and Your mileage may vary.

Rob

Thanks roaminggamer and Rob, I read all the old topics last week.
I’m going to convert mp3 to video file and I’ll try to create the player and manage audio flux of my new .m4v by video API.
I think it is the best solution

 

another solution could be soundcloud https://developers.soundcloud.com/
Rob, can I interact parties?

For projects like this, we offer Corona Enterprise where you can link in SDK’s like this for your needs.  We can’t add everything under the sun to the core SDK.  There simply isn’t enough engineering resources available.  They also lack an Android SDK from first glance which is another reason why this likely wouldn’t get implemented SDK wide.

If you think this is something many people in the community would be interested in, please go to: http://feedback.coronalabs.com and file a feature request there and get it voted up.  If it gets enough interest…

Rob

There was a discussion here that may help answer your current question and future follow-up questions on this topic:

http://forums.coronalabs.com/topic/29612-play-streaming-internet-radio/

http://docs.coronalabs.com/daily/api/library/media/RemoteSource.html

It sound like maybe you can treat it as a video and play it?  Not sure, never tried it, but hopefully the above discussion and link will help

Some people have used media.playVideo() to play a fixed sound file from a remote source.  This will “stream” the sound as in it will start playing it before it finishes downloading, but it has to be a fixed sized file.  This technique won’t work with streaming services where the sound stream doesn’t end.  It’s probably also limited to .mp3 files or other files that an .mp4 encoder can handle.

Since this is using the media.* API, you can’t blend it with other sounds using the audio.* APIs.

This is not formally supported and Your mileage may vary.

Rob

Thanks roaminggamer and Rob, I read all the old topics last week.
I’m going to convert mp3 to video file and I’ll try to create the player and manage audio flux of my new .m4v by video API.
I think it is the best solution

 

another solution could be soundcloud https://developers.soundcloud.com/
Rob, can I interact parties?

For projects like this, we offer Corona Enterprise where you can link in SDK’s like this for your needs.  We can’t add everything under the sun to the core SDK.  There simply isn’t enough engineering resources available.  They also lack an Android SDK from first glance which is another reason why this likely wouldn’t get implemented SDK wide.

If you think this is something many people in the community would be interested in, please go to: http://feedback.coronalabs.com and file a feature request there and get it voted up.  If it gets enough interest…

Rob