Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道目前与 HTML5 视频兼容的浏览器使用Accept-Ranges标头来寻找内部流,但这远非理想的解决方案。浏览器需要文件的完整索引信息才能有效地执行此操作,而这对于实时流优化格式是不可能的,例如分段 mp4和分块 mkv(或 WebM)。
是否有 HTTP 的功能或使用时间戳(而不是字节)操作的扩展。
我知道浏览器不太可能支持这样的标准,因为这些早期的实现。如果存在这样的标准或命题,我只是感兴趣。
不,http 协议不知道正文中的内容。您可能能够运行传递文件的 cgi,它会接受时间戳作为参数以从该位置继续流。