Android video stream mms and m3u8

给你一囗甜甜゛ 提交于 2019-12-01 05:40:43

问题


I am trying to play some video streams from mms and m3u8 inside my Android application. It seems that the MediaPlayer doesn't have support on this and from what I have read on FFMPEG it seems there isn't any easy way with that also. I am using Android 2.1 SDK. Any ideas on what I should in order to make this work? There are some apps there in the store that already do this, but I don't know how.


回答1:


You may try the Vitamio library, http://vitamio.org

Vitamio is a multimedia framework for all Android devices. Vitamio works like the Android's default MediaPlayer except that it includes much more powerful features. And it's absolutely free !

The following network protocols are supported for audio and video playback:

MMS
RTSP (RTP, SDP)
HTTP progressive streaming
HTTP live streaming (M3U8), for Android 2.1+


来源:https://stackoverflow.com/questions/7063898/android-video-stream-mms-and-m3u8

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