Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

html5 blob 实现 PC 通过video标签实现的直播

在浏览 PC 京东直播和 PC 淘宝 直播的时候 看到了 用的都是 blob

类似这样的链接

blob:https://jdlive.jd.com/22fe84db-e7e6-46ff-bc82-f27e3cf7e12c

求大神这个是如何实现可以PC 直播的,ie 和 Edge 都不可以播放


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Media Source Extension 呗,跟flv.js一个原理,ajax或者websocket 获取数据,js remuxing,然后硬件解码h264


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...