Android FFMPEG - Loading a http radio url and decoding to play it
I'm trying to load a aac radio stream and play it. For this I'm trying to decode the audio and play it using audiotrack.
I'm trying to use FFMPEG for this purpose. Is it possible to pass in the http url and ask ffmpeg's method av_open_input_file to open the http url? I'm trying to do this but its showing some errors while I'm compiling it.
Has anyone tried t开发者_运维问答his. Is this possible?
Regards, Hari
I have tested some apps on my droid. See the code for these apps here.
http://code.google.com/p/aacplayer-android/
https://github.com/havlenapetr/android_packages_apps_FMRadio
Which works perfectly well on my droid. Hope this helps.
精彩评论