Streaming Shoutcast audio to Android

I wrote an app for the iPhone which uses streaming of a Shoutcast stream, but Apple refused it for not having enough functionality to approve.

I’d like to rewrite it using Corona and publish to Android, but I’m not sure if this would work.
@ansca on Twitter said media.playvideo() should do it, but when I used my test stream, the app showed a blank, black screen and the app locked up on my HTC Magic. [import]uid: 10389 topic_id: 6650 reply_id: 306650[/import]

Test stream code:

media.playVideo( "http://icecast2.977music.com/80s", media.RemoteSource, true, onComplete )

media.playVideo launches the native video player doesn’t it?

so possibly the black screen is the native video player and since your stream never specifically ends then there’s probably no “complete” event to pass back control to corona. [import]uid: 6645 topic_id: 6650 reply_id: 23218[/import]

Yeah but I guess it cannot decode Shoutcast streams and that’s why there’s no audio or controls displayed and it just locks up. [import]uid: 10389 topic_id: 6650 reply_id: 23352[/import]

did u get it to work ever, by the way for html 5 audio tag you need to add semicolon to the end of the url.

;

Might be the same. Im gonna try it out. [import]uid: 118379 topic_id: 6650 reply_id: 127247[/import]

did u get it to work ever, by the way for html 5 audio tag you need to add semicolon to the end of the url.

;

Might be the same. Im gonna try it out. [import]uid: 118379 topic_id: 6650 reply_id: 127247[/import]