本文介绍了如何流通过MMS://的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在下载Android NDK
然后下载修改libmms和libffmpeg在 radiotime/apps/android.aspx
基本上你必须有2个线程:
Download Android NDK
Then download modified libmms and libffmpeg at radiotime/apps/android.aspx
basically you has to have 2 threads:
有关于这方面的一些职位,但到目前为止,我还没有看到任何好的答案。有没有一种方法,我可以流从彩信音频:// URI的与Android? MediaPlayer的似乎不喜欢这些流。同时改变MMS://与HTTP或RTSP也不起作用。是不是有人找到解决方法,这?谢谢!
解决方案- 下载从MMS站的音频数据第一个线程,然后写一个wma文件
- 在C此WMA使用libffmpeg PCM数据第二线程去$ C $。
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!
解决方案- 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.
更多推荐
如何流通过MMS://
发布评论