how to stream through mms://

狂风中的少年 提交于 2019-11-30 10:23:01
hiennt
  1. Download Android NDK
  2. Then download modified libmms and libffmpeg at http://radiotime.com/apps/android.aspx
  3. 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.

To save some time you can use the following library for playing mms streams: FFMpegMediaPlayer.

It has the same interface as the android MediaPlayer so its easy to work with and it comes with optional prebuilt binaries too.

I use it in my own mms streaming application and I haven't had any problems.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!