I want the audio stream feature for Corona so badly.
I put this together in xcode. It took about an hour. I don’t know how your system works but maybe you can make it possible at least for iOS.
It uses the AVFoundation Framework.
@implementation AudioStreamViewController - (void)viewDidLoad { NSString \*urlAddress = @"http://www.somedomain.com/drumkit.mp3"; AVPlayerItem \*playerItem = [AVPlayerItem playerItemWithURL:[NSURL URLWithString:urlAddress]]; audioPlayer = [AVPlayer playerWithPlayerItem:playerItem]; [playerItem addObserver:self forKeyPath:@"status" options:NSKeyValueObservingOptionInitial | NSKeyValueObservingOptionNew context:@"RadioStatus"]; // Background Mode: [[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayback error:nil]; [[AVAudioSession sharedInstance] setActive: YES error: nil]; [[UIApplication sharedApplication] beginReceivingRemoteControlEvents]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(playerItemPlayedToEnd) name:AVPlayerItemDidPlayToEndTimeNotification object:nil]; [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. } - (void)playerItemPlayedToEnd:(NSNotification \*)notification { //AVPlayerItem \*p = [notification object]; NSLog(@"audio finished"); } // Check if items are loaded: - (void)observeValueForKeyPath:(NSString \*)keyPath ofObject:(id)object change(NSDictionary \*) change context:(void \*)context{ if (context == @"RadioStatus"){ AVPlayerItem \*item = (AVPlayerItem\*)object; if(item.status == AVPlayerItemStatusReadyToPlay){ NSLog(@"Ready to play item"); [audioPlayer play]; }else if( item.status == AVPlayerItemStatusFailed){ NSLog(@"Failed to load item"); } } } @end