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.
有没有办法停止浏览器中的缓冲。
我有一个指向某个 mp3 文件的音频标签。
浏览器在播放时开始缓冲音频。
我可以停止缓冲吗?
理想情况下,我知道如果您的音频数据输入速度更快,那么客户端可以播放什么,为什么不缓冲它。
我要问的是音频播放器应该只缓冲最小数量并要求更多数据。
我知道这是一个获取请求,所以它并不是一个真正要求更多的协议。所以只需消耗一大块,玩它并消耗更多。
有任何想法吗。也许 206 并寻求功能以请求更多。
谢谢
Try to put this option in your tag:
<audio preload='none'>
This option avoids pre-buffering, so it should solve your problem