简体   繁体   English

Android 视频 stream mms 和 m3u8

[英]Android video stream mms and m3u8

I am trying to play some video streams from mms and m3u8 inside my Android application.我正在尝试在我的 Android 应用程序中播放来自 mms 和 m3u8 的一些视频流。 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.似乎 MediaPlayer 对此没有支持,从我在 FFMPEG 上阅读的内容来看,似乎也没有任何简单的方法。 I am using Android 2.1 SDK.我正在使用 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.商店里有一些应用程序已经这样做了,但我不知道如何。

You may try the Vitamio library, http://vitamio.org你可以试试 Vitamio 库, http://vitamio.org

Vitamio is a multimedia framework for all Android devices. Vitamio 是适用于所有 Android 设备的多媒体框架。 Vitamio works like the Android's default MediaPlayer except that it includes much more powerful features. Vitamio 的工作方式类似于 Android 的默认 MediaPlayer,但它包含更强大的功能。 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+

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM