我想在我的 Android 应用程序中使用 ExoPlayer 库来播放实时流媒体视频。
我浏览了 exoplayer 网站和文档以及 Github 页面,但我对解释不满意。
任何人都可以给我提示如何通过 ExoPlayer 播放 http 直播流视频?
提前致谢。
我可以立即在 ExoPlayer 中播放 LiveStream。
只需下载此示例即可https://drive.google.com/file/d/0Byr1H33Pe7u-MW93UUpmMUhGTTQ/view https://drive.google.com/file/d/0Byr1H33Pe7u-MW93UUpmMUhGTTQ/view并修改Uri
video_url = "http://cspan1-lh.akamaihd.net/i/cspan1_1@304727/index_1000_av-p.m3u8";
注意:某些m3u8文件由于格式不正确而无法播放
在此处检查支持的格式https://google.github.io/ExoPlayer/supported-formats.html https://google.github.io/ExoPlayer/supported-formats.html
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)