最近用多部安卓手机测试小程序,发现使用 video 标签播放 m3u8 直播内容时,居然都出现了带总时长的进度条,总时长为 3秒~40秒左右,然后播放时还容易卡顿。苹果暂未发现这个 bug。
框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|
小程序 | Bug | video | 微信安卓客户端 | 7.0.17 | 2.12.0 |
最近用多部安卓手机测试小程序,发现使用 video 标签播放 m3u8 直播内容时,居然都出现了带总时长的进度条,总时长为 3秒~40秒左右,然后播放时还容易卡顿。苹果暂未发现这个 bug。
Framework type problem type API / component name terminal type wechat version basic library version applet bug video Android client 7.0.17 2.12.0 recently tested the applet with multiple Android phones. It was found that when using the video tag to play m3u8 live content, a progress bar with total duration appeared. The total duration was About 3-40 seconds, and then it is easy to get stuck when playing. Apple has not found this bug yet.
回答:
直播?这个组件本身就不行的吧!实时音视频要使用 live-player
原文出处:安卓小程序video标签直播 bug
这是前年开发的小程序,之前一直可以使用 video 播放 m3u8 直播的,live-player好像不支持 m3u8 流。