S selvamurali Active Member Licensed User Longtime User Jul 21, 2012 #1 hi friends i am going to develop an online radio app . i don't know how to access the online radio server through mediaplayer . help me
hi friends i am going to develop an online radio app . i don't know how to access the online radio server through mediaplayer . help me
Erel B4X founder Staff member Licensed User Longtime User Jul 21, 2012 #2 You should use MediaPlayerStream from the Audio library. Upvote 0
jalle007 Active Member Licensed User Longtime User Mar 20, 2013 #3 can anybody play this radio station http://ligata.homeip.net:8200/listen.pls i tried webview and MediaPlayerStream but no success. Upvote 0
can anybody play this radio station http://ligata.homeip.net:8200/listen.pls i tried webview and MediaPlayerStream but no success.
NJDude Expert Licensed User Longtime User Mar 20, 2013 #4 That's a ShoutCast station, you will need to write a little app for that. Upvote 0
jalle007 Active Member Licensed User Longtime User Mar 20, 2013 #5 could not find anything at b4a. but found some libs in java. maybe someday i could port them to b4a Upvote 0
NJDude Expert Licensed User Longtime User Mar 20, 2013 #6 You can do it using MediaPlayerStream, but it seems that station is private, at least, that's what I see on the console. Upvote 0
You can do it using MediaPlayerStream, but it seems that station is private, at least, that's what I see on the console.
jalle007 Active Member Licensed User Longtime User Mar 20, 2013 #7 NJDude said: You can do it using MediaPlayerStream, but it seems that station is private, at least, that's what I see on the console. Click to expand... Well its public radio station located here NVO "OTVORENA MREŽA" and actually its business is humanitarian work (collecting donations for ill people) I want to build app that will enable users to call number and give donation. Also I wanted to play radio in background. are you sure it can't played in MediaPlayerStream ? Do you have another idea please? Upvote 0
NJDude said: You can do it using MediaPlayerStream, but it seems that station is private, at least, that's what I see on the console. Click to expand... Well its public radio station located here NVO "OTVORENA MREŽA" and actually its business is humanitarian work (collecting donations for ill people) I want to build app that will enable users to call number and give donation. Also I wanted to play radio in background. are you sure it can't played in MediaPlayerStream ? Do you have another idea please?
NJDude Expert Licensed User Longtime User Mar 20, 2013 #8 I could be wrong, but maybe the encoding they are using is not supported by Android, they use "audio/aacp", other stations using "audio/mpeg" play just fine. Upvote 0
I could be wrong, but maybe the encoding they are using is not supported by Android, they use "audio/aacp", other stations using "audio/mpeg" play just fine.