There are some posts about this, but so far, i haven't seen any good answer. Is there a way i can stream audio from mms:// uris with Android?. MediaPlayer seems not to like these streams. Also changing mms:// with http or rtsp doesn't work either. Did someone find a workaround to this?. Thanks!
+1
A:
hi i can help you on this
Here is solution
- Download Android NDK
- Then download modified libmms and libffmpeg at http://radiotime.com/apps/android.aspx
- basically you has to have 2 threads:
- 1st thread for downloading the audio data from mms station then write to a wma file
- 2nd thread decode this wma to PCM data using the libffmpeg.
good luck
regards :)
hiennt
2010-07-16 10:34:20
hmm, i'm not familiar with NDK, but,.. i guess i will have to dig on it :-). Thanks for the reply!
ggomeze
2010-07-17 07:53:31
A:
Hi Hiennt, thank u for your proposition about streaming mms into android...
But creating these 2 threads is not very clear, specially the implementation of these multiple library (mms, wma, pcm...).
So would you please help me with a useful tutorial on how to :
--> Generate the libraries,
--> Get the wma file from mms station,
--> Decode this wma to pcm...
Thx in advance ...
SuperH
2010-08-26 11:01:45