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.
我在通过 HTTP 流式传输视频文件时遇到问题。使用视频视图。
而且我注意到回溯时缓冲区百分比降低。我还注意到,如果视频正在重放,它会再次开始下载。
是否可以为视频缓冲区提供某种缓存。以及如何做到这一点?
您可以将大文件下载/流式传输到小文件中。一个一个地播放这些块文件。在这种情况下,您应该正确使用 MediaPlayer。- 谢谢